2 Feb
2014
2 Feb
'14
11:17 a.m.
On 02/02/14 01:35, Fletcher, John P wrote:
I am working on bugs in boost phoenix.
I have found some problems eg. #7624 which run fine with C++11 with either Clang 3.4 or gcc 4.8.2.
I also have a patch which has been suggested for bug #8704 which uses C++11.
Is there a way to incorporate C++11 only code into tests or the actual headers.
If so, is there an example of how to do it in Boost?
Boost.Config defines many macros to test whether some C++03 or C++11 features are available. Try to use those as much as possible instead of doing your own compiler detection logic. http://www.boost.org/doc/libs/release/libs/config/doc/html/index.html