Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
parent_from_member.hpp File Reference
#include <boost/intrusive/detail/config_begin.hpp>
#include <boost/intrusive/intrusive_fwd.hpp>
#include <boost/intrusive/detail/parent_from_member.hpp>
#include <boost/intrusive/detail/config_end.hpp>
Include dependency graph for parent_from_member.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::intrusive
 

Functions

template<class Parent , class Member >
Parent * boost::intrusive::get_parent_from_member (Member *member, const Member Parent::*ptr_to_member)
 Given a pointer to a member and its corresponding pointer to data member, this function returns the pointer of the parent containing that member. More...
 
template<class Parent , class Member >
const Parent * boost::intrusive::get_parent_from_member (const Member *member, const Member Parent::*ptr_to_member)
 Given a const pointer to a member and its corresponding const pointer to data member, this function returns the const pointer of the parent containing that member. More...