Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::multi_index::index< MultiIndexContainer, Tag > Struct Template Reference

#include <multi_index_container_fwd.hpp>

Public Types

typedef
MultiIndexContainer::index_type_list 
index_type_list
 
typedef mpl::find_if
< index_type_list,
detail::has_tag< Tag > >::type 
iter
 
typedef mpl::deref< iter >::type type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, index_found=!(is_same< iter, typename mpl::end< index_type_list >::type >::value))
 
 BOOST_STATIC_ASSERT (index_found)
 

Member Typedef Documentation

template<typename MultiIndexContainer, typename Tag >
typedef MultiIndexContainer::index_type_list boost::multi_index::index< MultiIndexContainer, Tag >::index_type_list
template<typename MultiIndexContainer, typename Tag >
typedef mpl::find_if< index_type_list, detail::has_tag<Tag> >::type boost::multi_index::index< MultiIndexContainer, Tag >::iter
template<typename MultiIndexContainer, typename Tag >
typedef mpl::deref<iter>::type boost::multi_index::index< MultiIndexContainer, Tag >::type

Member Function Documentation

template<typename MultiIndexContainer, typename Tag >
boost::multi_index::index< MultiIndexContainer, Tag >::BOOST_STATIC_ASSERT ( index_found  )
template<typename MultiIndexContainer, typename Tag >
boost::multi_index::index< MultiIndexContainer, Tag >::BOOST_STATIC_CONSTANT ( bool  ,
index_found  = !(is_same< iter, typename mpl::endindex_type_list >::type >::value) 
)

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