QtRocket
 
Loading...
Searching...
No Matches
Catch::Clara::Detail::ResultValueBase< void > Class Reference

#include <catch_amalgamated.hpp>

Inheritance diagram for Catch::Clara::Detail::ResultValueBase< void >:
Collaboration diagram for Catch::Clara::Detail::ResultValueBase< void >:

Public Member Functions

void const & value () const &
 
void && value () &&
 

Public Attributes

void m_value
 

Protected Member Functions

 ResultBase (ResultType type)
 
 ResultBase (ResultBase const &)=default
 
 ResultBase (ResultBase &&)=default
 
 ResultValueBase (ResultType type)
 
 ResultValueBase (ResultValueBase const &other)
 
 ResultValueBase (ResultValueBase &&other)
 
 ResultValueBase (ResultType, void const &value)
 
 ResultValueBase (ResultType, void &&value)
 
ResultValueBaseoperator= (ResultValueBase const &other)
 
ResultValueBaseoperator= (ResultValueBase &&other)
 
 ~ResultValueBase () override
 
- Protected Member Functions inherited from Catch::Clara::Detail::ResultBase
 ResultBase (ResultType type)
 
virtual ~ResultBase ()
 
 ResultBase (ResultBase const &)=default
 
ResultBaseoperator= (ResultBase const &)=default
 
 ResultBase (ResultBase &&)=default
 
ResultBaseoperator= (ResultBase &&)=default
 
virtual void enforceOk () const =0
 

Protected Attributes

union { 
 
   T   m_value 
 
};  
 
- Protected Attributes inherited from Catch::Clara::Detail::ResultBase
ResultType m_type
 

Constructor & Destructor Documentation

◆ ResultValueBase() [1/5]

Catch::Clara::Detail::ResultValueBase< void >::ResultValueBase ( ResultType type)
inlineprotected
Here is the caller graph for this function:

◆ ResultValueBase() [2/5]

Catch::Clara::Detail::ResultValueBase< void >::ResultValueBase ( ResultValueBase< void > const & other)
inlineprotected

◆ ResultValueBase() [3/5]

Catch::Clara::Detail::ResultValueBase< void >::ResultValueBase ( ResultValueBase< void > && other)
inlineprotected

◆ ResultValueBase() [4/5]

Catch::Clara::Detail::ResultValueBase< void >::ResultValueBase ( ResultType ,
void const & value )
inlineprotected

◆ ResultValueBase() [5/5]

Catch::Clara::Detail::ResultValueBase< void >::ResultValueBase ( ResultType ,
void && value )
inlineprotected

◆ ~ResultValueBase()

Catch::Clara::Detail::ResultValueBase< void >::~ResultValueBase ( )
inlineoverrideprotected

Member Function Documentation

◆ operator=() [1/2]

ResultValueBase & Catch::Clara::Detail::ResultValueBase< void >::operator= ( ResultValueBase< void > && other)
inlineprotected

◆ operator=() [2/2]

ResultValueBase & Catch::Clara::Detail::ResultValueBase< void >::operator= ( ResultValueBase< void > const & other)
inlineprotected

◆ ResultBase() [1/3]

Catch::Clara::Detail::ResultBase::ResultBase ( ResultBase && )
protecteddefault

◆ ResultBase() [2/3]

Catch::Clara::Detail::ResultBase::ResultBase ( ResultBase const & )
protecteddefault

◆ ResultBase() [3/3]

Catch::Clara::Detail::ResultBase::ResultBase ( ResultType type)
inlineprotected

◆ value() [1/2]

void && Catch::Clara::Detail::ResultValueBase< void >::value ( ) &&
inline

◆ value() [2/2]

void const & Catch::Clara::Detail::ResultValueBase< void >::value ( ) const &
inline
Here is the caller graph for this function:

Member Data Documentation

◆ [union]

◆ m_value


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