[utility.as.const]

# 22 General utilities library [[utilities]](./#utilities)

## 22.2 Utility components [[utility]](utility#as.const)

### 22.2.5 Function template as_const [utility.as.const]

[ð](#lib:as_const)

`template<class T> constexpr add_const_t<T>& as_const(T& t) noexcept;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/utilities.tex#L501)

*Returns*: t[.](#1.sentence-1)
