My Project
is_constant_evaluated.hpp
Go to the documentation of this file.
1 
28 #ifndef BSL_IS_CONSTANT_EVALUATED_HPP
29 #define BSL_IS_CONSTANT_EVALUATED_HPP
30 
31 namespace bsl
32 {
45  [[nodiscard]] constexpr bool
47  {
48  return BSL_IS_CONSTANT_EVALUATED;
49  }
50 }
51 
52 #endif
constexpr bool is_constant_evaluated() noexcept
Detects whether the function call occurs within a constant-evaluated context. Returns true if the eva...
Definition: is_constant_evaluated.hpp:46