tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_constant_evaluated.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

constexpr auto is_constant_evaluated () noexcept -> bool
 Detects whether the function call occurs within a constant-evaluated context. Returns true if the evaluation of the call occurs within the evaluation of an expression or conversion that is manifestly constant-evaluated; otherwise returns false.