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, kalb at, bjorn.karlsson at, gregod at, wekempf at