• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Boost study#4
 

Boost study#4

on

  • 12,946 views

Boost.勉強会 #4 での「ゲーム開発のC++」

Boost.勉強会 #4 での「ゲーム開発のC++」

Statistics

Views

Total Views
12,946
Views on SlideShare
5,126
Embed Views
7,820

Actions

Likes
6
Downloads
58
Comments
1

16 Embeds 7,820

http://d.hatena.ne.jp 6433
http://isoparametric.hatenablog.com 857
http://pokotsun.mydns.jp 246
http://isoparametric.net 143
http://wiki.onakasuita.org 74
http://g4st.mydns.jp 40
http://webcache.googleusercontent.com 12
http://a0.twimg.com 4
https://si0.twimg.com 3
http://counter.hatena.ne.jp 2
http://www.browsertunnel.com 1
https://twitter.com 1
http://twitter.com 1
http://static.slidesharecdn.com 1
http://www.google.co.jp 1
http://translate.googleusercontent.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Boost study#4 Boost study#4 Presentation Transcript

    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • virtual BOOL IsDead( VOID ){ return FALSE };2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • hidekiUtil_RenderParticle df3CharHitAtkAttrCalc bosActorCreate2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • C++ Coding Standards 1012011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • Array() virtual ‾Array() void alloc(unsigned int size); void release(); void setFuncValid(FuncValid i); FuncValid funcValid(); void setFuncEqual(FuncEqual i); FuncEqual funcEqual(); void setFuncSort(FuncSort i); FuncSort funcSort(); bool valid(); unsigned int size(); T &operator[](unsigned int index); T &operator[](int index); Array<T> &operator=(const Array<T> &i); T *ptr(); void push(T&v); void pop(T &v); T *find(T &v); T *findInvalid(); void sort(); bool validAssert(); unsigned int count(FuncValid func); void clear(); void fill(T i);2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • typedef eastl::list<int, fixed_allocator> IntList;typedef IntList::node_type IntListNode;IntListNode buffer[200];IntList intList;intList.get_allocator().init( buffer, sizeof(buffer), sizeof(IntListNode), __alignof(IntListNode));2011 2 26
    • 2011 2 26
    • 2011 2 26
    • template <typename T, size_t nodeCount, bool bEnableOverflow = true, typename Allocator = EASTLAllocatorType> class fixed_vector T = nodeCount = bEnableOverflow = Allocator = bEnableOverflow ture2011 2 26
    • Example usage: fixed_vector<Widget, 128, true> fixedVector; fixedVector.push_back(Widget()); fixedVector.resize(200); fixedVector.clear();2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • // tuple!! #include <boost/tuple/tuple.hpp> class HandleBase; boost::tuple<unsigned long, unsigned long> RegisterHandle(void* object); void UnregisterHandle(HandleBase handle); class HandleBase { public: // valid inline bool isValid() const2011 2 26
    • template <class T> class Handle : public HandleBase { public: Handle(unsigned long id, unsigned long index) : HandleBase(id, index) { } ... // T* operator->() const2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26
    • 2011 2 26