|
Boost Users : |
Subject: Re: [Boost-users] [Variant] Tree like structure with variant
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-10-21 06:37:33
On 21/10/10 09:39, dariomt_at_[hidden] wrote:
> Hi all,
>
> I need a tree-like structure like the following
>
> boost::variant< int, std::vector<tree>, std::map<std::string, tree> > tree;
boost::make_recursive_variant<
int,
std::vector< boost::recursive_variant_ >,
std::map< std::string, boost::recursive_variant_ >
>::type tree;
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