문제

In boost/interprocess/managed_external_buffer.hpp, a template class basic_managed_external_buffer is defined, yet I can't manage to find the actual definition of the managed_external_buffer class (which I guess simply inherits from the previous one with particular template parameters).

I'm also looking for the definition of the managed_shared_memory class, I also find a basic_managed_shared_memory template class in the managed_shared_memory.hpp file, but no definition of the actual managed_shared_memory class.

Thank you.

도움이 되었습니까?

해결책

In boost/interprocess/interprocess_fwd.hpp:

typedef basic_managed_external_buffer
   <char
   ,rbtree_best_fit<null_mutex_family>
   ,iset_index>
managed_external_buffer;

The other one is right there, too.

다른 팁

From <boost/interprocess/interprocess_fwd.hpp>:

template <class CharType
         ,class MemoryAlgorithm
         ,template<class IndexConfig> class IndexType>
class basic_managed_external_buffer;

typedef basic_managed_external_buffer
   <char
   ,rbtree_best_fit<null_mutex_family>
   ,iset_index>
managed_external_buffer;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top