Skip to content

boost::timer is deprecated #597

@donno

Description

@donno

This applies to boost::timer (the class not the namespace) used at:

typedef boost::timer timer;

The replacement is boost::timer::cpu_timer which is in `boost/timer/cpu_timer.hpp.
The <boost/timer.hpp> header has been deprecated, since January 2019.
The class has been deprecated since around October 2011 when v2 was merged in with the replacement.

See Boost Thread Library documentation for details

Having said that, perhaps the better option would be to replace Boost timer class with std::chrono::steady_clock when not using the POSIX timers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions