tmp/tmpsw4gl7nr/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Function template `to_underlying` <a id="utility.underlying">[[utility.underlying]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
template<class T>
|
| 5 |
+
constexpr underlying_type_t<T> to_underlying(T value) noexcept;
|
| 6 |
+
```
|
| 7 |
+
|
| 8 |
+
*Returns:* `static_cast<underlying_type_t<T>>(value)`.
|
| 9 |
+
|