C++ Logo

std-discussion

Advanced search

Re: Noexcept specification of basic_string's move assignment operator in C++11 and C++14

From: Gennaro Prota <gennaro.prota_at_[hidden]>
Date: Fri, 21 Feb 2020 09:55:08 +0100
On Fri, Feb 21, 2020 at 9:29 AM Daniel Krügler
<daniel.kruegler_at_[hidden]> wrote:
>
> Am Fr., 21. Feb. 2020 um 08:40 Uhr schrieb Gennaro Prota via
> Std-Discussion <std-discussion_at_[hidden]>:
> >
> > Hi,
> >
> > considering all the applicable defect reports (in particular, LWG 2063),
> > what noexcept specification, if any, is basic_string's move assignment
> > operator supposed to have in C++11 and C++14?
>
> LWG 2063 is a defect report against C++17, so I'm unsure how to
> interpret your question.

Hmm. Are you sure? The issue was filed in 2011 and Cppreference says it
was applied to C++11:

  <https://en.cppreference.com/mwiki/index.php?title=cpp/string/basic_string/operator%3D&oldid=107712>.

See also the talk page:

  <https://en.cppreference.com/mwiki/index.php?title=Talk:cpp/string/basic_string/operator%3D&oldid=103483>.

-- 
--
.:: Gennaro Prota ::.
.:: https://about.me/gennaro.prota ::.

Received on 2020-02-21 02:58:26