GMP 0.3.0
Generative Metaprogramming library for C++
Loading...
Searching...
No Matches
named_operator.hpp File Reference
#include <concepts>
#include <functional>
#include <type_traits>
#include <tuple>
#include <utility>
#include <gmp/macro/macro.hpp>

Go to the source code of this file.

Namespaces

namespace  gmp
 

Macros

#define GMP_DEFINE_NAMED_OPERATOR_PAIR(pair)
 
#define GMP_TO_PAIR(x)
 
#define GMP_TO_PAIRS(...)
 
#define GMP_GENERATE_NAMED_OPERATOR_PAIRS(...)
 
#define GMP_GENERATE_NAMED_OPERATOR_IDENTICAL_PAIRS(...)
 

Functions

template<typename Func >
constexpr auto gmp::make_named_operator (Func &&f)
 Create a token that lets a callable be used as a named infix operator.
 

Macro Definition Documentation

◆ GMP_DEFINE_NAMED_OPERATOR_PAIR

#define GMP_DEFINE_NAMED_OPERATOR_PAIR (   pair)

Definition at line 106 of file named_operator.hpp.

◆ GMP_GENERATE_NAMED_OPERATOR_IDENTICAL_PAIRS

#define GMP_GENERATE_NAMED_OPERATOR_IDENTICAL_PAIRS (   ...)

Definition at line 125 of file named_operator.hpp.

◆ GMP_GENERATE_NAMED_OPERATOR_PAIRS

#define GMP_GENERATE_NAMED_OPERATOR_PAIRS (   ...)

Definition at line 123 of file named_operator.hpp.

◆ GMP_TO_PAIR

#define GMP_TO_PAIR (   x)

Definition at line 120 of file named_operator.hpp.

◆ GMP_TO_PAIRS

#define GMP_TO_PAIRS (   ...)

Definition at line 121 of file named_operator.hpp.