From 781688e71f412a76215a30c617835851b74770b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hana=20Dusi=CC=81kova=CC=81?= Date: Sun, 20 Jul 2025 12:53:10 +0200 Subject: [PATCH] [class] removing redundant wording, constructors and destructors can't be coroutines (since P3533R2), therefore they are always constexpr-suitable and removed wording is not needed. --- source/classes.tex | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/source/classes.tex b/source/classes.tex index a1287851d4..7d471979c1 100644 --- a/source/classes.tex +++ b/source/classes.tex @@ -1440,8 +1440,7 @@ \grammarterm{compound-statement}. If that user-written default constructor would be ill-formed, the program is ill-formed. -If that user-written default constructor would be constexpr-suitable\iref{dcl.constexpr}, -the implicitly-defined +The implicitly-defined default constructor is \keyword{constexpr}. Before the defaulted default constructor for a class is implicitly defined, @@ -1726,8 +1725,7 @@ The copy/move constructor is implicitly defined even if the implementation elided its odr-use\iref{term.odr.use,class.temporary}. \end{note} -If an implicitly-defined\iref{dcl.fct.def.default} constructor would be constexpr-suitable\iref{dcl.constexpr}, -the implicitly-defined +The implicitly-defined\iref{dcl.fct.def.default} constructor is \keyword{constexpr}. \pnum @@ -2223,8 +2221,7 @@ \defnx{non-trivial}{destructor!non-trivial}. \pnum -A defaulted destructor is a constexpr destructor -if it is constexpr-suitable\iref{dcl.constexpr}. +A defaulted destructor is a constexpr destructor. \pnum Before a pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy