$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2006-04-18 17:44:49
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/