C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: Trailing requires-clauses on destructors
From: Andrey Davydov (andrey.davydov_at_[hidden])
Date: 2019-11-27 01:09:01


On Wed, Nov 27, 2019 at 7:26 AM Myria via Std-Discussion <
std-discussion_at_[hidden]> wrote:

> Is it well-formed to have requires-clauses on destructors? Here is an
> example:
>
Yes, it's legal, see http://wg21.link/p0848 (it was adopted in Cologne,
2019-07).



STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups