proxygen
folly::pushmi::detail::id_fn Struct Reference

#include <if_constexpr.h>

Public Member Functions

constexpr operator bool () const noexcept
 
template<class T >
constexpr T && operator() (T &&t) const noexcept
 

Detailed Description

Definition at line 89 of file if_constexpr.h.

Member Function Documentation

constexpr folly::pushmi::detail::id_fn::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 90 of file if_constexpr.h.

90  {
91  return false;
92  }
template<class T >
constexpr T&& folly::pushmi::detail::id_fn::operator() ( T &&  t) const
inlinenoexcept

Definition at line 94 of file if_constexpr.h.

References folly::pushmi::detail::t, and folly::T.

94  {
95  return (T&&) t;
96  }
folly::std T

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