Boost logo

Boost Users :

Subject: Re: [Boost-users] Designing a table-like data structure with Fusion
From: Matthias Vallentin (vallentin_at_[hidden])
Date: 2010-01-27 00:32:25


On Tue, Jan 26, 2010 at 07:58:12PM -0800, Steven Watanabe wrote:
> Since the number of columns is determined at runtime, you can't really use
> fusion. You're best bet is probably std::vector<boost::variant<...> >

Hm, I guess boost::variant suits indeed best to accommodate polymorphic
columns. Thanks for clarifying.

   Matthias

-- 
Matthias Vallentin
vallentin_at_[hidden]
http://www.icir.org/matthias

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