Yume
Namespaces | Variables
vals.cpp File Reference
#include "vals.hpp"
#include "ast/ast.hpp"
#include "ty/substitution.hpp"
#include <algorithm>
#include <stdexcept>
#include <type_traits>
Include dependency graph for vals.cpp:

Go to the source code of this file.

Namespaces

namespace  yume
 

Variables

static constexpr const auto yume::always_false = [](auto&&... ) { return false; }
 
template<StringLiteral msg, typename RetT = void>
static constexpr const auto yume::always_throw
 
template<auto pm, typename R = void>
static constexpr const auto yume::fwd = [](auto&&... args) -> R { return std::invoke(pm, args...); }
 
template<auto pm>
static constexpr const auto yume::fwd< pm, void > = [](auto&&... args) -> decltype(auto) { return std::invoke(pm, args...); }