function template
std::is_within_lifetime
- Header
<type_traits>- Draft
- [meta.const.eval]
- Scope
std- cppreference
- std::is_within_lifetime
Synopsis
template<class U = void, class T>
requires has-is-within-lifetime<T>
consteval bool is_within_lifetime(const T* p) noexcept;