Opened 7 years ago

Closed 6 years ago

#11630 closed Bugs (fixed)

boost chrono documentation about boost chrono version & io API is wrong.

Reported by: Sébastien Barthélémy <barthelemy@…> Owned by: viboes
Milestone: Boost 1.62.0 Component: chrono
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

It is no clear to me if boost chrono version 2 is used on any boost version.

The doc states that boost chrono io v1 won't be provided by default starting with boost 1.55, but my tests shows that it is still provided on boost 1.58 at least.

Here is the relevant part of the doc, copied from .../1_59_0/doc/html/chrono/reference.html#chrono.reference.cpp0x.chrono_chrono_hpp.conf.deprecated_io

Deprecated IO

Version 2.0.0 deprecates the preceding IO features.

These deprecated features will be provided by default up to boost 1.55. If you don't want to include the deprecated features you could define BOOST_CHRONO_DONT_PROVIDES_DEPRECATED_IO_SINCE_V2_0_0. Since 1.55 these features will not be included any more by default. Since this version, if you want to include the deprecated features yet you could define BOOST_CHRONO_PROVIDES_DEPRECATED_IO_SINCE_V2_0_0. These deprecated features will be only available until boost 1.58, that is you have 1 year and a half to move to the new features.

Change History (3)

comment:1 by viboes, 7 years ago

Status: newassigned

This was the initial plan, but as it was a non-backward compatible change I didn't do it. I will fix the docs.

comment:2 by viboes, 6 years ago

Milestone: To Be DeterminedBoost 1.62.0

comment:3 by viboes, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.