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 tag



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

template<typename Tag> 
struct tag {
  // member classes/structs/unions

  // @ template<class Base>

  struct pack {
    // types
    typedef Tag tag;


This option setter specifies the type of the tag of a base hook. A type cannot have two base hooks of the same type, so a tag can be used to differentiate two base hooks with otherwise same type