Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::clara::detail::BoundFlagLambda< L > Struct Template Reference

#include <clara.hpp>

Inheritance diagram for Catch::clara::detail::BoundFlagLambda< L >:
Collaboration diagram for Catch::clara::detail::BoundFlagLambda< L >:

Public Member Functions

 BoundFlagLambda (L const &lambda)
 
auto setFlag (bool flag) -> ParserResult override
 
- Public Member Functions inherited from Catch::clara::detail::BoundFlagRefBase
virtual auto isFlag () const -> bool
 
- Public Member Functions inherited from Catch::clara::detail::BoundRef
virtual ~BoundRef ()=default
 
virtual auto isContainer () const -> bool
 
- Public Member Functions inherited from Catch::clara::detail::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
 NonCopyable (NonCopyable &&)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable &&)=delete
 

Public Attributes

m_lambda
 

Detailed Description

template<typename L>
struct Catch::clara::detail::BoundFlagLambda< L >

Definition at line 792 of file clara.hpp.

Constructor & Destructor Documentation

◆ BoundFlagLambda()

template<typename L >
Catch::clara::detail::BoundFlagLambda< L >::BoundFlagLambda ( L const & lambda)
inlineexplicit

Definition at line 798 of file clara.hpp.

Member Function Documentation

◆ setFlag()

template<typename L >
auto Catch::clara::detail::BoundFlagLambda< L >::setFlag ( bool flag) -> ParserResult
inlineoverridevirtual

Implements Catch::clara::detail::BoundFlagRefBase.

Definition at line 800 of file clara.hpp.

800 {
801 return LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke( m_lambda, flag );
802 }

Member Data Documentation

◆ m_lambda

template<typename L >
L Catch::clara::detail::BoundFlagLambda< L >::m_lambda

Definition at line 793 of file clara.hpp.


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