Much obliged for any advice,
-thant
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Have not tried with variant, but the bcp tool may help. You find it in
the tools directory of boost.
http://www.boost.org/tools/bcp/bcp.html
> (The
> variant header seems to pull in a large number of other headers.) Or
> should I just go ahead and implement my own version?
The bcp tool will at least reduce your code down to the variant lib and
what variant depend on. Then you can assess if you want to go further
from there.
--
regards,
Bjørn
My recommendation would be to give users an option. It would be silly
to build your own version, if that would require users already using
boost to stand on their head in order to avoid ODR-problems etc. I
hope that wont pose to many problems to you.
/Peter