This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]