Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
doctest::detail::ExpressionDecomposer Struct Reference

#include <doctest.h>

Public Member Functions

 ExpressionDecomposer (assertType::Enum at)
 
template<typename L >
Expression_lhs< const L && > operator<< (const L &&operand)
 
template<typename L , typename types::enable_if<!doctest::detail::types::is_rvalue_reference< L >::value, void >::type * = nullptr>
Expression_lhs< const L & > operator<< (const L &operand)
 

Data Fields

assertType::Enum m_at
 

Detailed Description

Definition at line 1571 of file doctest.h.

Constructor & Destructor Documentation

◆ ExpressionDecomposer()

doctest::detail::ExpressionDecomposer::ExpressionDecomposer ( assertType::Enum at)

Member Function Documentation

◆ operator<<() [1/2]

template<typename L >
Expression_lhs< const L && > doctest::detail::ExpressionDecomposer::operator<< ( const L && operand)
inline

Definition at line 1575 of file doctest.h.

1582 { //bitfields bind to universal ref but not const rvalue ref
1583 return Expression_lhs<const L&&>(static_cast<const L&&>(operand), m_at);
1584 }

◆ operator<<() [2/2]

template<typename L , typename types::enable_if<!doctest::detail::types::is_rvalue_reference< L >::value, void >::type * = nullptr>
Expression_lhs< const L & > doctest::detail::ExpressionDecomposer::operator<< ( const L & operand)
inline

Definition at line 1575 of file doctest.h.

1587 {
1588 return Expression_lhs<const L&>(operand, m_at);
1589 }

Field Documentation

◆ m_at

assertType::Enum doctest::detail::ExpressionDecomposer::m_at

Definition at line 1573 of file doctest.h.


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