|
constexpr | any () noexcept |
|
| any (const any &other) |
|
| any (any &&other) noexcept=default |
|
template<typename T , typename VT = absl::decay_t<T>, absl::enable_if_t<!absl::disjunction< std::is_same< any, VT >, IsInPlaceType< VT >, absl::negation< std::is_copy_constructible< VT > > >::value > * = nullptr> |
| any (T &&value) |
|
template<typename T , typename... Args, typename VT = absl::decay_t<T>, absl::enable_if_t< absl::conjunction< std::is_copy_constructible< VT >, std::is_constructible< VT, Args... >>::value > * = nullptr> |
| any (in_place_type_t< T >, Args &&... args) |
|
template<typename T , typename U , typename... Args, typename VT = absl::decay_t<T>, absl::enable_if_t< absl::conjunction< std::is_copy_constructible< VT >, std::is_constructible< VT, std::initializer_list< U > &, Args... >>::value > * = nullptr> |
| any (in_place_type_t< T >, std::initializer_list< U > ilist, Args &&... args) |
|
template<typename T , typename... Args, typename VT = absl::decay_t<T>, absl::enable_if_t< std::is_copy_constructible< VT >::value &&std::is_constructible< VT, Args... >::value > * = nullptr> |
VT & | emplace (Args &&... args) |
|
template<typename T , typename U , typename... Args, typename VT = absl::decay_t<T>, absl::enable_if_t< std::is_copy_constructible< VT >::value &&std::is_constructible< VT, std::initializer_list< U > &, Args... >::value > * = nullptr> |
VT & | emplace (std::initializer_list< U > ilist, Args &&... args) |
|
bool | has_value () const noexcept |
|
any & | operator= (const any &rhs) |
|
any & | operator= (any &&rhs) noexcept |
|
template<typename T , typename VT = absl::decay_t<T>, absl::enable_if_t< absl::conjunction< absl::negation< std::is_same< VT, any >>, std::is_copy_constructible< VT >>::value > * = nullptr> |
any & | operator= (T &&rhs) |
|
void | reset () noexcept |
|
void | swap (any &other) noexcept |
|
const std::type_info & | type () const noexcept |
|
Definition at line 214 of file any.h.
template<typename T , typename VT = absl::decay_t<T>, absl::enable_if_t<!absl::disjunction< std::is_same< any, VT >, IsInPlaceType< VT >, absl::negation< std::is_copy_constructible< VT > > >::value > * = nullptr>
absl::any::any |
( |
T && |
value | ) |
|
|
inline |
template<typename T , typename U , typename... Args, typename VT = absl::decay_t<T>, absl::enable_if_t< absl::conjunction< std::is_copy_constructible< VT >, std::is_constructible< VT, std::initializer_list< U > &, Args... >>::value > * = nullptr>
absl::any::any |
( |
in_place_type_t< T > |
, |
|
|
std::initializer_list< U > |
ilist, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineexplicit |
template<typename T , typename U , typename... Args, typename VT = absl::decay_t<T>, absl::enable_if_t< std::is_copy_constructible< VT >::value &&std::is_constructible< VT, std::initializer_list< U > &, Args... >::value > * = nullptr>
VT& absl::any::emplace |
( |
std::initializer_list< U > |
ilist, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |