senf::is_pair< Pair > Struct Template Reference

#include <senf/Utils/type_traits.hh>

Inheritance diagram for senf::is_pair< Pair >:

Detailed Description

template<class Pair>
struct senf::is_pair< Pair >

Test object if it is any std::pair type

if Pair is any std::pair type, this trait will inherit from boost::true_type, otherwise it will inherit from boost::false_type.

BOOST_STATIC_ASSERT(( senf::is_pair< std::pair<int,void*> >::value ));
BOOST_STATIC_ASSERT(( ! senf::is_pair< void () >::value ));

Definition at line 265 of file type_traits.hh.


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