From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by sourceware.org (Postfix) with ESMTPS id 72C7B3858035; Fri, 26 Nov 2021 12:38:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 72C7B3858035 Received: by mail-yb1-xb2a.google.com with SMTP id v7so20034222ybq.0; Fri, 26 Nov 2021 04:38:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1rSOu0SCpiU1Y2jtkZk/O3bWBEw0iYht/oaLMbxqbNI=; b=JA4cNi6sqJftSwgbCxKJ/+jZvUV0gOOQs39earpEvJ+vPH8tmsPZvTYQmM+5b4hW5x dz2UFcBkAEBy7nFuGxjQqWnfvFBr6NYvlczXAsgGNjxNVOvI+xPijmLs5Uo4pAxeBsfg DS2qX7ONvkeyRFhvgJ7oRXDNV1bGVfKZN2chgCIJrmfvTm8Sb1TvRNA2NhTjz2Mnsgmm FpnPybyfjNAzdldRswddYcEHr5keolZO4fTqdD/0D0ho9C1jyMfBrH3GLbs231vSn9nn xSKuraksdxJfe54+qAEC+9QwVpa6ucdeBD76531nOSUVTQKJe7dDgN/DqfIkLwDkQY+4 VyZw== X-Gm-Message-State: AOAM530dcuas1WNoqeBvtHIcY/s+PVbU6COITGYgDUojBpHL/nzpbq0b uGXbPyiS5N37d/f/l/UekAO4thfIL7tkD8+NNsJJcr4I X-Google-Smtp-Source: ABdhPJxH+VhfCfNB1scttUyFIKnsPmHdV5c0XETDx6wOW2P48vmOY28GCOy1srvk7K4RHQaNnbUsUMaTmeI369iGXKE= X-Received: by 2002:a25:77d7:: with SMTP id s206mr15210444ybc.512.1637930315007; Fri, 26 Nov 2021 04:38:35 -0800 (PST) MIME-Version: 1.0 References: <20211126122925.1626170-1-jwakely@redhat.com> In-Reply-To: <20211126122925.1626170-1-jwakely@redhat.com> From: Ville Voutilainen Date: Fri, 26 Nov 2021 14:38:23 +0200 Message-ID: Subject: Re: [PATCH] libstdc++: Define std::__is_constant_evaluated() for internal use To: Jonathan Wakely Cc: "libstdc++" , gcc-patches List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2021 12:38:37 -0000 On Fri, 26 Nov 2021 at 14:29, Jonathan Wakely via Libstdc++ wrote: > > I've bored of having to do preprocessor checks before using > is_constant_evaluated, so I've come up with this approach. Anybody got a > better idea, or objections to this? None here, I like this improvement.