Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::graph_detail::choose_default_map< Label, Vertex > Struct Template Reference

Choose the default map instance. More...

#include <labeled_graph.hpp>

Public Types

typedef mpl::if_< is_unsigned
< Label >, std::vector< Vertex >
, std::map< Label, Vertex >
>::type 
type
 

Detailed Description

template<typename Label, typename Vertex>
struct boost::graph_detail::choose_default_map< Label, Vertex >

Choose the default map instance.

If Label is an unsigned integral type the we can use a vector to store the information.

Member Typedef Documentation

template<typename Label , typename Vertex >
typedef mpl::if_< is_unsigned<Label>, std::vector<Vertex>, std::map<Label, Vertex> >::type boost::graph_detail::choose_default_map< Label, Vertex >::type

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