Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-08-28 04:00:31

Bugs item #1547744, was opened at 2006-08-28 10:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: chris_lux (chris_lux)
Assigned to: Nobody/Anonymous (nobody)
Summary: problem when using bool type in variant

Initial Comment:
when bool is used as a type in variant the stream
output does not work as expected.

i used the latest cvs sources.


// works correct
boost::variant<int, float, std::string> vari_t;

vari_t = "hallo";
std::cout << vari_t << std::endl;


// works not correct
boost::variant<int, bool, float, std::string> vari_t;

vari_t = "hallo";
std::cout << vari_t << std::endl;

vari_t = true;
std::cout << vari_t << std::endl;



You can respond by visiting:

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at