Changeset 17292 for trunk/Mars/mcore


Ignore:
Timestamp:
10/21/13 13:39:07 (11 years ago)
Author:
tbretz
Message:
Added some tweaks to allow root cint to parse the C++11 stuff.
Location:
trunk/Mars/mcore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/MemoryManager.h

    r17267 r17292  
    22#define MARS_MemoryManager
    33
     4#ifndef __CINT__
    45#include <forward_list>
     6#else
     7namespace std
     8{
     9    class mutex;
     10    class condition_variable;
     11    template<class T> class shared_ptr<T>;
     12    template<class T> class forward_list<T>;
     13}
     14#endif
    515
    616class MemoryStock
  • trunk/Mars/mcore/Queue.h

    r17283 r17292  
    33
    44#include <list>
     5
     6#ifndef __CINT__
    57#include <thread>
    68#include <condition_variable>
     9#else
     10namespace std
     11{
     12    class mutex;
     13    class thread;
     14    class condition_variable;
     15    template<class T> class function<T>;
     16}
     17#endif
     18
    719
    820// The second template argument must support:
Note: See TracChangeset for help on using the changeset viewer.