Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fwd: How to print the structure of vector of boost::variant]
From: Igor R (boost.lists_at_[hidden])
Date: 2012-01-11 12:05:59


>                  please see the bellow my code and tell me how to get out
> this problem please.when I try to print values of
> variant it's giving the error as:

First of all, your code doesn't seem to be self-contained, it doesn't
compile with no regards to operator <<.
But anyway, check that you define operator<< for all the variant elements.


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