Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::type_erasure::as_param< Any, T > Struct Template Reference

Metafunction that creates a param. More...

#include <param.hpp>

Public Types

typedef ::boost::mpl::if_
< ::boost::type_erasure::is_placeholder
< typename::boost::remove_cv
< typename::boost::remove_reference
< T >::type >::type >, param
< typename::boost::type_erasure::concept_of
< Any >::type, T >, T >::type 
type
 

Detailed Description

template<class Any, class T>
struct boost::type_erasure::as_param< Any, T >

Metafunction that creates a param.

If T is a (cv/reference qualifed) placeholder, returns param<concept_of<Any>::type, T>, otherwise, returns T. This metafunction is intended to be used for function arguments in specializations of concept_interface.

See also
derived, rebind_any

Member Typedef Documentation

template<class Any , class T >
typedef ::boost::mpl::if_< ::boost::type_erasure::is_placeholder< typename ::boost::remove_cv< typename ::boost::remove_reference<T>::type>::type>, param<typename ::boost::type_erasure::concept_of<Any>::type, T>, T >::type boost::type_erasure::as_param< Any, T >::type

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