Search code examples
c++boostinterprocess

Where is boost's managed_external_buffer defined?


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.


Solution

  • 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.