Opened 16 years ago
Closed 16 years ago
#719 closed Bugs (Invalid)
problem when using bool type in variant
Reported by: | chris_lux | Owned by: | ebf |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
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
Note:
See TracTickets
for help on using tickets.