never Struct Reference

Unary and binary predicates that never return true, useful for templating. More...

Inheritance diagram for never:
[legend]
Collaboration diagram for never:
[legend]

Public Member Functions

template<class T >
constexpr bool operator() (const T &) const noexcept
 Unary predicate. More...
 
template<class T1 , class T2 >
constexpr bool operator() (const T1 &, const T2 &) const noexcept
 Binary predicate. More...
 
constexpr bool match (const std::string &, bool literal=false) const noexcept
 String match. More...
 

Detailed Description

Unary and binary predicates that never return true, useful for templating.

Definition at line 88 of file predicates.H.

Member Function Documentation

◆ operator()() [1/2]

constexpr bool operator() ( const T ) const
inlineconstexprnoexcept

Unary predicate.

Returns
false

Definition at line 93 of file predicates.H.

◆ operator()() [2/2]

constexpr bool operator() ( const T1 &  ,
const T2 &   
) const
inlineconstexprnoexcept

Binary predicate.

Returns
false

Definition at line 101 of file predicates.H.

◆ match()

constexpr bool match ( const std::string &  ,
bool  literal = false 
) const
inlineconstexprnoexcept

String match.

Returns
false

Definition at line 108 of file predicates.H.


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