Boost logo

Boost :

Subject: Re: [boost] C++03 / C++11 compatibility question for compiled libraries
From: Olaf van der Spek (ml_at_[hidden])
Date: 2018-02-13 08:05:48

On Tue, Feb 13, 2018 at 12:21 AM, Gavin Lambert via Boost
<boost_at_[hidden]> wrote:
> (Header-only and highly templated libraries can be the worst offenders in
> this regard: it only takes one translation unit compiled with slightly
> different settings to break seemingly unrelated code, sometimes apparently
> at random if the linker picks different ones to keep each time. Compiled
> libraries at least have the option of supplying both C++03 and C++11
> implementations in separate namespaces, though it can become a game of
> whack-a-mole to enumerate all the different ABI-breaking settings that you
> want to concurrently support.)

Why can header-only libs not use different namespaces for 03 and 11?


Boost list run by bdawes at, gregod at, cpdaniel at, john at