#include <memory>
#include <type_traits>
#include <typeinfo>
#include <meta/meta.hpp>
#include <concepts/concepts.hpp>
#include <range/v3/range_fwd.hpp>
#include <range/v3/utility/swap.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>
Go to the source code of this file.
|
struct | ranges::RANGES_DEPRECATED ("ranges::any will be going away in the not-too-distant future. " "We suggest you use std::any or boost::any instead (or simply steal " "this header and maintain it yourself).") any |
|
template<typename T > |
meta::if_c< std::is_reference< T >()||copyable< T >, T > | ranges::any_cast (any &) |
|
template<typename T > |
meta::if_c< std::is_reference< T >()||copyable< T >, T > | ranges::any_cast (any const &x) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<typename T > |
meta::if_c< std::is_reference< T >()||copyable< T >, T > | ranges::any_cast (any &&x) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<typename T > |
T * | ranges::any_cast (any *p) noexcept |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<typename T > |
T const * | ranges::any_cast (any const *p) noexcept |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
◆ any_cast()
template<typename T >
meta::if_c< std::is_reference< T >()||copyable< T >, T > ranges::any_cast |
( |
any & |
x | ) |
|