Date: Tue, 6 Jul 2021 15:19:31 +0200
On 7/4/21 9:32 PM, Roberto Romani via Std-Proposals wrote:
> template<typename T, PointerTo<T>... Args>
> constexpr decltype(auto) value_or(T&& default_value, Args&&...
> to_test_v) noexcept;
You may want to consider adding lazy evaluation of the default
parameter:
https://www.foonathan.net/2017/06/lazy-evaluation/
> template<typename T, PointerTo<T>... Args>
> constexpr decltype(auto) value_or(T&& default_value, Args&&...
> to_test_v) noexcept;
You may want to consider adding lazy evaluation of the default
parameter:
https://www.foonathan.net/2017/06/lazy-evaluation/
Received on 2021-07-06 08:19:35