OASIS
Open Algebra Software
Loading...
Searching...
No Matches
Oasis::MatchCastImpl< ArgumentT, Cases > Class Template Reference

#include <Oasis/MatchCast.hpp>

Public Member Functions

template<typename Lambda >
MatchCastImpl< ArgumentT, typename boost::mpl::push_back< Cases, Lambda >::type > Case (Lambda) const
 
std::unique_ptr< ArgumentT > Execute (const ArgumentT &arg, std::unique_ptr< ArgumentT > &&fallback) const
 

Member Function Documentation

◆ Case()

template<typename ArgumentT , typename Cases >
template<typename Lambda >
MatchCastImpl< ArgumentT, typename boost::mpl::push_back< Cases, Lambda >::type > Oasis::MatchCastImpl< ArgumentT, Cases >::Case ( Lambda ) const
inline

◆ Execute()

template<typename ArgumentT , typename Cases >
std::unique_ptr< ArgumentT > Oasis::MatchCastImpl< ArgumentT, Cases >::Execute ( const ArgumentT & arg,
std::unique_ptr< ArgumentT > && fallback ) const
inline

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