
18 Apr
2006
18 Apr
'06
9:44 p.m.
Irek Szczesniak wrote:
In nutshell: how can I check whether a property map has some given key?
One way which may work for you is to use optional<value> as the actual value_type of the map. That way, your map can just return an absent optional if there is no value associated with a key. http://www.boost.org/libs/optional/doc/optional.html -- Fernando Cacciola SciSoft http://fcacciola.50webs.com/