Boost logo

Boost Users :

Subject: [Boost-users] generic vector
From: U.Mutlu (for-gmane_at_[hidden])
Date: 2015-02-16 23:34:39

I need to have a std::vector in my program, but it's type
will be known only when it runs, ie. the type will be provided
via a program param. The possible types are limited to these: int64_t,
uint64_t, double, std::string.
Is there a solution in boost or C++11 for this kind of problem?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at