This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
std::chrono::duration operator<< ???
- From: Germán Diago <germandiago at gmail dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Sat, 16 Jan 2010 19:00:56 +0100
- Subject: std::chrono::duration operator<< ???
Hello. I'm using the chrono library and I want to output a
time_duration. I can't.
I think it's not planned to include operator<< in std::chrono.
I think it SHOULD be included, since outputting this value will be
quite common I think.
I tried conversions to long, long long and int and I can't. How can I
output a duration?