concept<X>

Prototype

template <class X>
struct concept {
  typedef concept-of-X type ;
}

Description

Meta function that returns the concept type for X. Usually, this is going to be a boost::mpl::vector.

By default, this will return X::concept_type unless for any builtin type for which it will return boost::mpl::vector< expression_concept >

Definition

Defined in concept.hpp

Type requirements

X can be any type, provided concept<X>::type is a model of Boost::MPL::ForwardSequence