Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::intrusive::trivial_value_traits< NodeTraits, LinkMode > Struct Template Reference

This value traits template is used to create value traits from user defined node traits where value_traits::value_type and node_traits::node should be equal. More...

#include <trivial_value_traits.hpp>

Public Types

typedef NodeTraits node_traits
 
typedef node_traits::node_ptr node_ptr
 
typedef node_traits::const_node_ptr const_node_ptr
 
typedef node_traits::node value_type
 
typedef node_ptr pointer
 
typedef const_node_ptr const_pointer
 

Static Public Member Functions

static node_ptr to_node_ptr (value_type &value)
 
static const_node_ptr to_node_ptr (const value_type &value)
 
static const pointerto_value_ptr (const node_ptr &n)
 
static const const_pointerto_value_ptr (const const_node_ptr &n)
 

Static Public Attributes

static const link_mode_type link_mode = LinkMode
 

Detailed Description

template<class NodeTraits, link_mode_type LinkMode>
struct boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >

This value traits template is used to create value traits from user defined node traits where value_traits::value_type and node_traits::node should be equal.

Member Typedef Documentation

template<class NodeTraits , link_mode_type LinkMode>
typedef node_traits::const_node_ptr boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::const_node_ptr
template<class NodeTraits , link_mode_type LinkMode>
typedef const_node_ptr boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::const_pointer
template<class NodeTraits , link_mode_type LinkMode>
typedef node_traits::node_ptr boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::node_ptr
template<class NodeTraits , link_mode_type LinkMode>
typedef NodeTraits boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::node_traits
template<class NodeTraits , link_mode_type LinkMode>
typedef node_ptr boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::pointer
template<class NodeTraits , link_mode_type LinkMode>
typedef node_traits::node boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::value_type

Member Function Documentation

template<class NodeTraits , link_mode_type LinkMode>
static node_ptr boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::to_node_ptr ( value_type value)
inlinestatic
template<class NodeTraits , link_mode_type LinkMode>
static const_node_ptr boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::to_node_ptr ( const value_type value)
inlinestatic
template<class NodeTraits , link_mode_type LinkMode>
static const pointer& boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::to_value_ptr ( const node_ptr n)
inlinestatic

References boost::n.

template<class NodeTraits , link_mode_type LinkMode>
static const const_pointer& boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::to_value_ptr ( const const_node_ptr n)
inlinestatic

References boost::n.

Member Data Documentation

template<class NodeTraits , link_mode_type LinkMode>
const link_mode_type boost::intrusive::trivial_value_traits< NodeTraits, LinkMode >::link_mode = LinkMode
static

The documentation for this struct was generated from the following files: