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::overwrite_tagged< Type, NewTag > Struct Template Reference

Hard tagging metafunction. More...

#include <overwrite_tagged.hpp>

Public Types

typedef tagged< Type, NewTag > type
 

Detailed Description

template<class Type, class NewTag>
struct boost::bimaps::tags::support::overwrite_tagged< Type, NewTag >

Hard tagging metafunction.

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

If the type is not tagged, this metafunction returns a tagged type with the passed tag. If it is tagged it returns a new tagged type with the tag replaced by the one passed as a parameter.

See also tagged, default_tagged.

Member Typedef Documentation

template<class Type , class NewTag >
typedef tagged<Type,NewTag> boost::bimaps::tags::support::overwrite_tagged< Type, NewTag >::type

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