
5 Nov
2013
5 Nov
'13
6:18 p.m.
On 5 Nov 2013 at 18:57, Vicente J. Botet Escriba wrote:
I would like to know what other have already done to try to use std or boost conditionally.
AFIO uses a thin compile-time thunk layer to auto select between Boost and C++11 STL implementations for atomic, mutex and chrono (AFIO currently *always* uses Boost.Thread - thanks to your enhancements Vicente). You can see it in action at https://github.com/BoostGSoC/boost.afio/blob/master/boost/afio/detail/ std_atomic_mutex_chrono.hpp. Niall -- Currently unemployed and looking for work. Work Portfolio: http://careers.stackoverflow.com/nialldouglas/