Awali
Another Weighted Automata library
Data Structures | Namespaces | Macros
automaton_decorator.hh File Reference
#include <awali/sttc/misc/memory.hh>
#include <awali/sttc/ctx/traits.hh>

Go to the source code of this file.

Data Structures

class  awali::sttc::internal::automaton_decorator< Aut, Context >
 Aggregate an automaton, and forward calls to it. More...
 

Namespaces

 awali
 Main namespace of Awali.
 
 awali::sttc
 Namespace for the static layer of Awali.
 
 awali::sttc::internal
 Implementation details of static layer (not stable).
 

Macros

#define DEFINE(Name)
 
#define DEFINE(Name)
 
#define DEFINE(Name)
 

Macro Definition Documentation

◆ DEFINE [1/3]

#define DEFINE (   Name)
Value:
template <typename... Args> \
static constexpr \
auto \
Name(Args&&... args) \
-> decltype(automaton_t::element_type::Name(std::forward<Args>(args)...)) \
{ \
return automaton_t::element_type::Name(std::forward<Args>(args)...); \
}

◆ DEFINE [2/3]

#define DEFINE (   Name)
Value:
template <typename... Args> \
auto \
Name(Args&&... args) const \
-> decltype(aut_->Name(std::forward<Args>(args)...)) \
{ \
return aut_->Name(std::forward<Args>(args)...); \
}

◆ DEFINE [3/3]

#define DEFINE (   Name)
Value:
template <typename... Args> \
auto \
Name(Args&&... args) \
-> decltype(aut_->Name(std::forward<Args>(args)...)) \
{ \
return aut_->Name(std::forward<Args>(args)...); \
}