|
Boost Users : |
Subject: Re: [Boost-users] Multiple key types map
From: Igor R (boost.lists_at_[hidden])
Date: 2010-02-23 13:30:26
> I'm looking for a map that has no matter about key types, so I can use
> such map storing int indexed objects and also, i.e., char indexed objects, as all-in-one container.
Maybe something like std::map<boost::variant<int, char>, std::string>
can be helpful?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net