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::default_tagged< Type, DefaultTag > Struct Template Reference

Weak tagging metafunction. More...

#include <default_tagged.hpp>

Public Types

typedef tagged< Type, DefaultTag > type
 

Detailed Description

template<class Type, class DefaultTag>
struct boost::bimaps::tags::support::default_tagged< Type, DefaultTag >

Weak tagging metafunction.

template< class Type, class Tag >
struct default_tagged
{
typedef {TaggedType} type;
};

If the type is not tagged, this metafunction returns a tagged type with the default tag. If it is tagged, the returns the type unchanged.

See also tagged, overwrite_tagged.

Member Typedef Documentation

template<class Type , class DefaultTag >
typedef tagged<Type,DefaultTag> boost::bimaps::tags::support::default_tagged< Type, DefaultTag >::type

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