Opened 8 years ago
Closed 8 years ago
#11006 closed Bugs (fixed)
Impossible to instantiate time_fmt_io_saver due to several errors.
Reported by: | rkawulak | Owned by: | viboes |
---|---|---|---|
Milestone: | Boost 1.58.0 | Component: | chrono |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
1.
time_point_io.hpp:535:49: error: no matching function for call to ‘get_time_fmt(boost::chrono::time_fmt_io_saver<char, std::char_traits<char> >::state_type&)’
ios_base_state.hpp:135:37: note: template argument deduction/substitution failed
2.
time_point_io.hpp:564:38: error: no matching function for call to ‘set_time_fmt(boost::chrono::time_fmt_io_saver<char, std::char_traits<char> >::aspect_type&, boost::chrono::time_fmt_io_saver<char, std::char_traits<char> >::aspect_type&)’
ios_base_state.hpp:141:17: note: template argument deduction/substitution failed
Change History (6)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Status: | new → assigned |
---|
comment:4 by , 8 years ago
#include <iostream> #include <boost/chrono/io/time_point_io.hpp> boost::chrono::time_fmt_io_saver<> tmp(std::cout);
comment:5 by , 8 years ago
Milestone: | To Be Determined → Boost 1.58.0 |
---|
comment:6 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Please, could you provide the example that was the source of these compiler errors?