#include <type_traits>Contains xtd::as_const method.
Go to the source code of this file.
Namespaces | |
| namespace | xtd |
| The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more. | |
Functions | |
| template<class type_t> | |
| constexpr auto | xtd::as_const (type_t &type) noexcept -> std::add_const_t< type_t > & |
| Obtains a reference to const to its argument. | |
| template<class type_t> | |
| constexpr auto | xtd::as_const (type_t *type) noexcept -> std::add_const_t< type_t > * |
| Obtains a pointer to const to its argument. | |