proxygen
folly::poly::IBooleanTestable::Interface< Base > Struct Template Reference

#include <Nullable.h>

Inherits Base.

Public Member Functions

constexpr bool operator! () const noexcept
 
constexpr operator bool () const noexcept
 

Detailed Description

template<class Base>
struct folly::poly::IBooleanTestable::Interface< Base >

Definition at line 80 of file Nullable.h.

Member Function Documentation

template<class Base >
constexpr folly::poly::IBooleanTestable::Interface< Base >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 84 of file Nullable.h.

84  {
85  return !!*this;
86  }
template<class Base >
constexpr bool folly::poly::IBooleanTestable::Interface< Base >::operator! ( ) const
inlinenoexcept

Definition at line 81 of file Nullable.h.

References folly::poly_empty().

81  {
82  return poly_empty(*this);
83  }
bool poly_empty(detail::PolyRoot< I > const &that) noexcept
Definition: Poly.h:383

The documentation for this struct was generated from the following file: