#include <weakmap.h>
Public Member Functions | |
value_pointer & | operator= (value_pointer &v) |
V & | operator* () const |
Support: *map[k]. | |
V * | operator-> () const |
Support: map[k]->mem. | |
operator value_pointer () const | |
Support: value_pointer V(map[k]) | |
bool | operator== (const value_pointer &v) const |
bool | operator!= (const value_pointer &v) const |
Friends | |
class | weak_value_map |
proxy class for lookup of non-const Supports assignment and deref. implicitly castable to value_pointer (aka shared_ptr<V>)
|
inline |
Support: map[k] = v The value_pointer passed in will be replaced with a wrapped reference