Opened 8 years ago

Closed 8 years ago

#10166 closed Feature Requests (invalid)

need a way to find boost version

Reported by: anonymous Owned by: René Rivera
Milestone: To Be Determined Component: predef USE GITHUB
Version: Boost 1.55.0 Severity: Optimization
Keywords: Cc:

Description

Some Boost libraries such as coroutine change often enough that it would be good to have a compile-time macro saying what version of Boost is currently in use (such as 1.55). Maybe there is a way to do this but I can't find it in the docs. The obvious way is to add a macro into the predef library. It is almost humorous that this library tracks so many version numbers (of compilers, etc.) but not the version number of Boost itself.

Change History (2)

comment:1 by anonymous, 8 years ago

Component: Nonepredef
Owner: set to René Rivera

comment:2 by Marshall Clow, 8 years ago

Resolution: invalid
Status: newclosed

The bit that you want is #include <boost/version.hpp>

Nitty Gritty here

Note: See TracTickets for help on using tickets.