function template · 2 overloads
std::as_const
- Header
<utility>- Draft
- [utility.as.const]
- Scope
std- cppreference
- std::as_const
Overloads
- (1)
template<class T> constexpr add_const_t<T>& as_const(T& t) noexcept; - (2)
template<class T> void as_const(const T&&) = delete;