Provides functors for transformations. More...
Go to the source code of this file.
Data Structures | |
struct | Scine::Molassembler::Temple::Functor::Identity |
Metafunction required for default arguments. More... | |
struct | Scine::Molassembler::Temple::Functor::At< Container > |
Metafunction calling at on a bound container. More... | |
struct | Scine::Molassembler::Temple::Functor::IndexIn< Container > |
Metafunction determining the index of an item in a bound container. More... | |
struct | Scine::Molassembler::Temple::Functor::Get< i > |
Metafunction calling std::get on an argument with a bound index. More... | |
struct | Scine::Molassembler::Temple::Functor::Currier< UnaryF, UnaryG > |
Namespaces | |
Scine::Molassembler | |
Central library namespace. | |
Scine::Molassembler::Temple | |
Template shorthands, optimizers and constexpr data types. | |
Scine::Molassembler::Temple::Functor | |
Functors for transformations. | |
Functions | |
template<class Container > | |
auto | Scine::Molassembler::Temple::Functor::at (Container &&container) |
Make functor calling at on arguments. More... | |
template<class Container > | |
auto | Scine::Molassembler::Temple::Functor::indexIn (Container &&container) |
Make functor determining the index of an item in a bound container. More... | |
template<unsigned i> | |
constexpr auto | Scine::Molassembler::Temple::Functor::get () |
Make functor calling std::get with particular index on an argument. More... | |
template<typename UnaryF , typename UnaryG > | |
auto | Scine::Molassembler::Temple::Functor::curry (UnaryF &&outer, UnaryG &&inner) |
Variables | |
constexpr Get< 0 > | Scine::Molassembler::Temple::Functor::first |
Calls std::get<0> on any argument it is invoked with. | |
constexpr Get< 1 > | Scine::Molassembler::Temple::Functor::second |
Calls std::get<1> on any argument it is invoked with. | |
Provides functors for transformations.