Vcsn  2.3
Be Rational
static-if.hh File Reference
#include <utility>
#include <vcsn/misc/type_traits.hh>
Include dependency graph for static-if.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 vcsn
 
 vcsn::detail
 

Functions

template<typename Then , typename Else >
auto vcsn::detail::static_if (std::true_type, Then &&then, Else &&)
 Execute the then-clause. More...
 
template<typename Then , typename Else >
auto vcsn::detail::static_if (std::false_type, Then &&, Else &&else_)
 Execute the else-clause. More...
 
template<bool cond, typename Then , typename Else >
auto vcsn::detail::static_if (Then &&then, Else &&else_)
 Execute the then- or the else-clause depending on cond. More...
 
template<bool cond, typename Then >
auto vcsn::detail::static_if (Then &&then)
 Execute the then-clause if cond is verified. More...