Boost logo

Boost :

Subject: Re: [boost] [C++11 Feature List]
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-09-13 15:33:01

On Tue, Sep 13, 2011 at 2:48 PM, Sid Sacek <ssacek_at_[hidden]> wrote:
> Does boost have a spec (document) where it mentions which new language features in C++11 are permitted to be used in new libraries?

No, because the answer is that any C++11 feature can be used in new
libraries, and in old libraries too.

The critical issue is support for compilers that don't supply a
particular shinny new feature. Today most Boost developers are trying
to support all compilers that (except for export) are C++03 compliant.
A howl would likely go up from reviewers if someone submitted a
library that didn't work on C++03 compilers.

Even that isn't absolute. If a library's sole purpose was to support
or ease the use of some C++11 feature, then it might well not work on
compilers that don't supply that feature.

Boost has a bunch of feature macros in the config library to identify
which compilers have various C++11 features.



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