[Boost-bugs] [ boost-Bugs-1547744 ] problem when using bool type in variant

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: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1547744&group_id=7586 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. example: // works correct boost::variant<int, float, std::string> vari_t; vari_t = "hallo"; std::cout << vari_t << std::endl; output: hallo // 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; output: 1 1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1547744&group_id=7586 ------------------------------------------------------------------------- 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 http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net