C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] std::error magic function
From: Thiago Macieira (thiago_at_[hidden])
Date: 2020-03-06 09:13:36


On Friday, 6 March 2020 06:46:56 PST connor horman via Std-Proposals wrote:
> Currently it is not possible to implement std::error in a way that it will
> work with initializing non-constexpr variables. Throwing an exception
> simply downgrades to runtime, only erroring if the result is needed at
> compile time.

Does that also apply to constinit variables?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups