Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::BinaryExpr< LhsT, RhsT > Class Template Reference

#include <catch_decomposer.h>

Inheritance diagram for Catch::BinaryExpr< LhsT, RhsT >:
Collaboration diagram for Catch::BinaryExpr< LhsT, RhsT >:

Public Member Functions

 BinaryExpr (bool comparisonResult, LhsT lhs, StringRef op, RhsT rhs)
 
template<typename T >
auto operator&& (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator|| (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator== (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator!= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator> (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator< (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator>= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator<= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
 BinaryExpr (bool comparisonResult, LhsT lhs, StringRef op, RhsT rhs)
 
template<typename T >
auto operator&& (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator|| (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator== (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator!= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator> (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator< (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator>= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator<= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
- Public Member Functions inherited from Catch::ITransientExpression
auto isBinaryExpression () const -> bool
 
auto getResult () const -> bool
 
 ITransientExpression (bool isBinaryExpression, bool result)
 
virtual ~ITransientExpression ()
 
auto isBinaryExpression () const -> bool
 
auto getResult () const -> bool
 
 ITransientExpression (bool isBinaryExpression, bool result)
 
virtual ~ITransientExpression ()
 

Additional Inherited Members

- Public Attributes inherited from Catch::ITransientExpression
bool m_isBinaryExpression
 
bool m_result
 

Detailed Description

template<typename LhsT, typename RhsT>
class Catch::BinaryExpr< LhsT, RhsT >

Definition at line 1870 of file catch.hpp.

Constructor & Destructor Documentation

◆ BinaryExpr() [1/2]

template<typename LhsT , typename RhsT >
Catch::BinaryExpr< LhsT, RhsT >::BinaryExpr ( bool comparisonResult,
LhsT lhs,
StringRef op,
RhsT rhs )
inline

Definition at line 61 of file catch_decomposer.h.

62 : ITransientExpression{ true, comparisonResult },
63 m_lhs( lhs ),
64 m_op( op ),
65 m_rhs( rhs )
66 {}
ITransientExpression(bool isBinaryExpression, bool result)

◆ BinaryExpr() [2/2]

template<typename LhsT , typename RhsT >
Catch::BinaryExpr< LhsT, RhsT >::BinaryExpr ( bool comparisonResult,
LhsT lhs,
StringRef op,
RhsT rhs )
inline

Definition at line 1881 of file catch.hpp.

1882 : ITransientExpression{ true, comparisonResult },
1883 m_lhs( lhs ),
1884 m_op( op ),
1885 m_rhs( rhs )
1886 {}

Member Function Documentation

◆ operator!=() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator!= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 90 of file catch_decomposer.h.

90 {
91 static_assert(always_false<T>::value,
92 "chained comparisons are not supported inside assertions, "
93 "wrap the expression inside parentheses, or decompose it");
94 }

◆ operator!=() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator!= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1910 of file catch.hpp.

1910 {
1911 static_assert(always_false<T>::value,
1912 "chained comparisons are not supported inside assertions, "
1913 "wrap the expression inside parentheses, or decompose it");
1914 }

◆ operator&&() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator&& ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 69 of file catch_decomposer.h.

69 {
70 static_assert(always_false<T>::value,
71 "chained comparisons are not supported inside assertions, "
72 "wrap the expression inside parentheses, or decompose it");
73 }

◆ operator&&() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator&& ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1889 of file catch.hpp.

1889 {
1890 static_assert(always_false<T>::value,
1891 "chained comparisons are not supported inside assertions, "
1892 "wrap the expression inside parentheses, or decompose it");
1893 }

◆ operator<() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator< ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 104 of file catch_decomposer.h.

104 {
105 static_assert(always_false<T>::value,
106 "chained comparisons are not supported inside assertions, "
107 "wrap the expression inside parentheses, or decompose it");
108 }

◆ operator<() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator< ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1924 of file catch.hpp.

1924 {
1925 static_assert(always_false<T>::value,
1926 "chained comparisons are not supported inside assertions, "
1927 "wrap the expression inside parentheses, or decompose it");
1928 }

◆ operator<=() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator<= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 118 of file catch_decomposer.h.

118 {
119 static_assert(always_false<T>::value,
120 "chained comparisons are not supported inside assertions, "
121 "wrap the expression inside parentheses, or decompose it");
122 }

◆ operator<=() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator<= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1938 of file catch.hpp.

1938 {
1939 static_assert(always_false<T>::value,
1940 "chained comparisons are not supported inside assertions, "
1941 "wrap the expression inside parentheses, or decompose it");
1942 }

◆ operator==() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator== ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 83 of file catch_decomposer.h.

83 {
84 static_assert(always_false<T>::value,
85 "chained comparisons are not supported inside assertions, "
86 "wrap the expression inside parentheses, or decompose it");
87 }

◆ operator==() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator== ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1903 of file catch.hpp.

1903 {
1904 static_assert(always_false<T>::value,
1905 "chained comparisons are not supported inside assertions, "
1906 "wrap the expression inside parentheses, or decompose it");
1907 }

◆ operator>() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator> ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 97 of file catch_decomposer.h.

97 {
98 static_assert(always_false<T>::value,
99 "chained comparisons are not supported inside assertions, "
100 "wrap the expression inside parentheses, or decompose it");
101 }

◆ operator>() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator> ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1917 of file catch.hpp.

1917 {
1918 static_assert(always_false<T>::value,
1919 "chained comparisons are not supported inside assertions, "
1920 "wrap the expression inside parentheses, or decompose it");
1921 }

◆ operator>=() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator>= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 111 of file catch_decomposer.h.

111 {
112 static_assert(always_false<T>::value,
113 "chained comparisons are not supported inside assertions, "
114 "wrap the expression inside parentheses, or decompose it");
115 }

◆ operator>=() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator>= ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1931 of file catch.hpp.

1931 {
1932 static_assert(always_false<T>::value,
1933 "chained comparisons are not supported inside assertions, "
1934 "wrap the expression inside parentheses, or decompose it");
1935 }

◆ operator||() [1/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator|| ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 76 of file catch_decomposer.h.

76 {
77 static_assert(always_false<T>::value,
78 "chained comparisons are not supported inside assertions, "
79 "wrap the expression inside parentheses, or decompose it");
80 }

◆ operator||() [2/2]

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator|| ( T ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 1896 of file catch.hpp.

1896 {
1897 static_assert(always_false<T>::value,
1898 "chained comparisons are not supported inside assertions, "
1899 "wrap the expression inside parentheses, or decompose it");
1900 }

The documentation for this class was generated from the following files: