Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::bimaps::tags::support::value_type_of< Type > Struct Template Reference

Metafunction to work with tagged and untagged type uniformly. More...

#include <value_type_of.hpp>

Public Types

typedef Type type
 

Detailed Description

template<class Type>
struct boost::bimaps::tags::support::value_type_of< Type >

Metafunction to work with tagged and untagged type uniformly.

template< class Type >
struct value_type_of
{
typedef {UntaggedType} type;
};

If the type is tagged this metafunction returns Type::value_type, and if it is not tagged it return the same type. This allows to work consistenly with tagged and untagged types.

See also tagged, tag_of.

Member Typedef Documentation

template<class Type >
typedef Type boost::bimaps::tags::support::value_type_of< Type >::type

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