|
Boost : |
Subject: Re: [boost] Boost and auto_ptr (was Boost 1.60.0 beta 1...)
From: Nevin Liber (nevin_at_[hidden])
Date: 2015-11-11 17:42:32
On 11 November 2015 at 15:08, Jonathan Wakely <jwakely.boost_at_[hidden]>
wrote:
> That doesn't mean implementors have to stop providing it, it only
> means it is no longer defined by the standard.
>
I'm not convinced they can.
Quoting [namespace.std]: "The behavior of a C++ program is undefined if
it adds declarations or definitions to namespace std or to a namespace
within namespace std unless otherwise specified."
And there is no wording in diff.cpp14.depr] which otherwise specifies it.
Or does this fall under it being UB, so vendors can define the behavior
however they like? (Seems kind of wrong because we have a UB detector [aka
constexpr] with defined semantics and are looking to define more of what
happens with UB [contracts], but I digress...)
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden] <nevin_at_[hidden]>> +1-847-691-1404
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk