Project

General

Profile

Actions

Task #2145

closed

time: use std::chrono

Added by Junxiao Shi about 10 years ago. Updated about 10 years ago.

Status:
Abandoned
Priority:
Normal
Assignee:
Category:
Utils
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
0.50 h

Description

Use std::chrono instead of boost::chrono in util/time.hpp.

Actions #1

Updated by Junxiao Shi about 10 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Junxiao Shi about 10 years ago

  • Status changed from In Progress to Abandoned

I gave this a shot, but found that this conversion is unfeasible: std::chrono::duration types do not have IO facility so there's no operator<<(std::ostream, std::chrono::milliseconds) etc. We'll have to keep using boost::chrono.

Actions #3

Updated by Alex Afanasyev about 10 years ago

I agree with abandoning. At some point we may start using boost chrono V2, which provides additional mechanisms of formatting of the string representation of time points and time duration.

Actions

Also available in: Atom PDF