cds  2.3.2
cds::intrusive::node_traits< T, NodeType, Hook > Struct Template Reference

Container's node traits. More...

#include <cds/intrusive/details/node_traits.h>

Public Types

typedef T value_type
 Value type.
 
typedef NodeType node_type
 Node type.
 

Static Public Member Functions

static node_typeto_node_ptr (value_type &v)
 Convert value reference to node pointer.
 
static node_typeto_node_ptr (value_type *v)
 Convert value pointer to node pointer.
 
static const node_typeto_node_ptr (value_type const &v)
 Convert value reference to node pointer (const version)
 
static const node_typeto_node_ptr (value_type const *v)
 Convert value pointer to node pointer (const version)
 
static value_typeto_value_ptr (node_type &n)
 Convert node refernce to value pointer.
 
static value_typeto_value_ptr (node_type *n)
 Convert node pointer to value pointer.
 
static const value_typeto_value_ptr (node_type const &n)
 Convert node reference to value pointer (const version)
 
static const value_typeto_value_ptr (node_type const *n)
 Convert node pointer to value pointer (const version)
 

Detailed Description

template<typename T, typename NodeType, typename Hook>
struct cds::intrusive::node_traits< T, NodeType, Hook >

Container's node traits.

This traits is intended for converting between type T of value stored in the intrusive container and container's node type NodeType.

There are separate specializations for each Hook type.


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

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:38 by Doxygen 1.8.13