|
Boost Users : |
From: Mateusz Åoskot (mateusz_at_[hidden])
Date: 2006-01-09 08:04:12
Hi,
Is boost::any suitable to use it as a type of
field of record?
Record is a set of fields.
Every field may store value of different type: int, double, char*.
Usually, in this case I'd use union of int,double and char*.
But I'd like to solve it a better way, more C++ than C.
So, would you recommend boost::any as a type of field value?
Cheers
-- Mateusz Åoskot http://mateusz.loskot.net
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