Boost logo

Boost :

Subject: Re: [boost] [modularization] Modularizing Boost (modularization)
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2013-11-05 13:18:22


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/



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk