mirror of
https://github.com/boostorg/property_map.git
synced 2026-02-01 08:42:16 +00:00
merged fixes
[SVN r21868]
This commit is contained in:
@@ -171,7 +171,9 @@ namespace boost {
|
||||
};
|
||||
template <typename K, typename V>
|
||||
const typename readable_property_map_archetype<K,V>::reference&
|
||||
get(const readable_property_map_archetype<K,V>&, const K&) {
|
||||
get(const readable_property_map_archetype<K,V>&,
|
||||
const typename readable_property_map_archetype<K,V>::key_type&)
|
||||
{
|
||||
typedef typename readable_property_map_archetype<K,V>::reference R;
|
||||
return static_object<R>::get();
|
||||
}
|
||||
@@ -199,7 +201,9 @@ namespace boost {
|
||||
typedef writable_property_map_tag category;
|
||||
};
|
||||
template <typename K, typename V>
|
||||
void put(const writable_property_map_archetype<K,V>&, const K&, const V&) { }
|
||||
void put(const writable_property_map_archetype<K,V>&,
|
||||
const typename writable_property_map_archetype<K,V>::key_type&,
|
||||
const typename writable_property_map_archetype<K,V>::value_type&) { }
|
||||
|
||||
|
||||
template <class PMap, class Key>
|
||||
|
||||
Reference in New Issue
Block a user