Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Struct template value_traits



// In header: <boost/intrusive/options.hpp>

template<typename ValueTraits> 
struct value_traits {
  // member classes/structs/unions

  // @ template<class Base>

  struct pack {
    // types
    typedef ValueTraits value_traits;


This option setter specifies the relationship between the type to be managed by the container (the value type) and the node to be used in the node algorithms. It also specifies the linking policy.