folly::indirect::valueless_after_move

Tests whether the wrapper is in the valueless (moved-from) state.

Synopsis

Declared in <folly/Indirect.h>

constexpr
bool
valueless_after_move() const noexcept;

Return Value

true if the wrapper owns no value.