Opened 8 years ago

#10935 new Feature Requests

Header-only option for Boost.Timer

Reported by: Barend Gehrels Owned by: Beman Dawes
Milestone: To Be Determined Component: timer
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

As discussed on the Mailing List:

So as far as I understand, Boost.Test has moved from Boost.Timer v1 (2001) to Boost.Timer v2 (2011). Boost.Timer v2 depends on Boost.Chrono, which optionally can be compiled header-only, and on Boost.System. But Boost.Timer itself has no option to be compiled header-only (AFAIU). So basically the regression is in Boost.Timer, which now requires linking. But because that is already introduced in 2011, it cannot be called a sudden regression. However, the influence on Boost.Test is quite large.

We use Boost.Test (the header-only option) since 2007 and wish to keep it header-only. I know what to do to make it compile (link with Boost.Timer) but that is an unwished option for several reasons, so: a regression.

I looked a Boost.Timer, and it seems reasonable to add a header-only option.

If you open a ticket, I'll give it a try. But it will be a week or two, so a ticket is best.

Change History (0)

Note: See TracTickets for help on using tickets.