ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Struct template property_map<P, const G, Default>

alps::property_map<P, const G, Default>

Synopsis

// In header: <alps/lattice/propertymap.h>

template<typename P, typename G, typename Default> 
struct property_map<P, const G, Default> {
  // types
  typedef boost::mpl::if_c< has_property< P, G >::graph_property, typename boost::graph_property< G, P >::type const &, typename boost::mpl::if_c< has_property< P, G >::any_property, typename boost::property_map< G, P >::const_type, singleton_property_map< Default > >::type >::type type;      
  typedef type                                                                                                                                                                                                                                                                             const_type;
};
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext