C++ Logo

SG10

Advanced search

Subject: Re: [SG10] Updates to SD-6: N4190
From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2015-01-08 16:17:21


On 01/08/2015 06:33 PM, Nelson, Clark wrote:
> So I'm suggesting that macros for these removed features might not be
> justified -- as we similarly decided that no macro is needed to indicate the
> removal of trigraphs.

Sounds reasonable.

Any real-world code using the removed stuff will probably fail to
compile, prompting some source code rewrite. So you'd have

#ifdef __cpp_lib_unique_ptr (or whatever the name is)
  // use unique_ptr
#else
  // must be an old compiler, use auto_ptr
#endif

Jens


SG10 list run by herb.sutter at gmail.com