![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::singleton_property_map
// In header: <alps/lattice/propertymap.h> template<typename V, typename K = boost::any> class singleton_property_map { public: // types typedef K key_type; typedef V value_type; typedef V & reference; typedef boost::lvalue_property_map_tag category; // construct/copy/destruct singleton_property_map(V = V()); singleton_property_map& operator=(const V &); // public member functions operator V() const; V value() const; template<typename T> V & operator[](T); template<typename T> const V & operator[](T) const; };
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo |