Boost logo

Boost Users :

Subject: Re: [Boost-users] Advise sought for container type
From: Archie14 (admin_at_[hidden])
Date: 2009-08-30 13:40:37


>
>
Well, how would I declare std::vector? std::vector<what>?
Using boost::any will require me to do some sort of type discovery at run time.
Thanks for pointing the boost::variant to me; that will work.

What would be a _proper_ way to design a templated class so it can be stored
in a (boost) container?


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