std::indirect<T, Allocator>::valueless_after_move
constexpr bool valueless_after_move() const noexcept; | (начиная с C++26) |
Проверяет, не является ли *this не имеющим значения.
Возвращаемое значение
true, если *this не имеет значения, иначе false.
Пример
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/memory/indirect/valueless_after_move