$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Multiple key types map
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2010-02-26 11:47:51
Igor R wrote:
>>>>> Maybe something like std::map<boost::variant<int, char>, std::string>
>>>>> can be helpful?
Igore Dmit. wrote:
>>Could one use boost::any as a key?
There is no any ordering defined for boost::any objects, so no, it is not possible to use it as Key in ordered associative containers.
Gevorg