C++ Logo

std-discussion

Advanced search

Re: Trailing requires-clauses on destructors

From: Andrey Davydov <andrey.davydov_at_[hidden]>
Date: Wed, 27 Nov 2019 10:09:01 +0300
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).

Received on 2019-11-27 01:11:34