proxygen
folly::pushmi::concepts::detail::Not< T > Struct Template Reference

#include <concept_def.h>

Public Member Functions

constexpr operator bool () const noexcept
 
template<class This = Not, bool B, int(*) _pushmi_concept_unique___LINE__ = nullptr, std::enable_if_t< _pushmi_concept_unique___LINE__||bool(B==(bool) This{}), int > = 0>
constexpr operator std::integral_constant< bool, B > () const noexcept
 
constexpr auto operator! () const noexcept
 
template<class That >
constexpr auto operator&& (That) const noexcept
 
template<class That >
constexpr auto operator|| (That) const noexcept
 

Detailed Description

template<class T>
struct folly::pushmi::concepts::detail::Not< T >

Definition at line 460 of file concept_def.h.

Member Function Documentation

template<class T >
constexpr folly::pushmi::concepts::detail::Not< T >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 461 of file concept_def.h.

References folly::pushmi::PUSHMI_TEMPLATE(), and folly::T.

461  {
462  return !(bool)T{};
463  }
folly::std T
template<class T >
template<class This = Not, bool B, int(*) _pushmi_concept_unique___LINE__ = nullptr, std::enable_if_t< _pushmi_concept_unique___LINE__||bool(B==(bool) This{}), int > = 0>
constexpr folly::pushmi::concepts::detail::Not< T >::operator std::integral_constant< bool, B > ( ) const
inlinenoexcept

Definition at line 465 of file concept_def.h.

References folly::pushmi::__adl::noexcept().

465  {}) constexpr
466  operator std::integral_constant<bool, B>() const noexcept {
467  return {};
requires E e noexcept(noexcept(s.error(std::move(e))))
template<class T >
constexpr auto folly::pushmi::concepts::detail::Not< T >::operator! ( ) const
inlinenoexcept

Definition at line 468 of file concept_def.h.

References folly::T.

Referenced by folly::pushmi::concepts::detail::And< T, U >::operator!(), and folly::pushmi::concepts::detail::Or< T, U >::operator!().

469  {
470  return T{};
folly::std T
template<class T >
template<class That >
constexpr auto folly::pushmi::concepts::detail::Not< T >::operator&& ( That  ) const
inlinenoexcept

Definition at line 472 of file concept_def.h.

Referenced by folly::pushmi::concepts::detail::Or< T, U >::operator&&().

473  {
474  return And<Not, That>{};
template<class T >
template<class That >
constexpr auto folly::pushmi::concepts::detail::Not< T >::operator|| ( That  ) const
inlinenoexcept

Definition at line 476 of file concept_def.h.

Referenced by folly::pushmi::concepts::detail::Or< T, U >::operator||().

477  {
478  return Or<Not, That>{};

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