SUNphi
1.0
|
Defines a class which binds a component of a SmET. More...
#include <ints/IntSeqRemove.hpp>
#include <ios/Logger.hpp>
#include <metaprogramming/SFINAE.hpp>
#include <smet/NnarySmET.hpp>
#include <smet/Reference.hpp>
#include <tens/TensClass.hpp>
#include <tens/TensComp.hpp>
Go to the source code of this file.
Classes | |
struct | SUNphi::BaseBinder |
struct | SUNphi::ConstrainAreBinders< Args > |
class | SUNphi::Binder< TG, _Refs > |
Class to bind a component of a SmET. More... | |
Macros | |
#define | DEFINE_NAMED_BINDER(TG, NAME) |
Defines a Binder named NAME for type TG. More... | |
#define | DEFINE_NAMED_RW_OR_COL_BINDER(TG, NAME) |
Defines a Binder named NAME for type RwTG or CnTG. More... | |
Typedefs | |
template<typename T , typename Ret = void> | |
using | SUNphi::EnableIfIsBinder = EnableIf< isBinder< T >,Ret > |
template<typename T > | |
using | SUNphi::ConstrainIsBinder = ConstrainIsBaseOf< BaseBinder,T > |
template<typename T > | |
using | SUNphi::ConstrainIsNotBinder = ConstrainIsNotBaseOf< BaseBinder,T > |
Functions | |
template<typename _Tg , typename SMET , typename... DummyTypes> | |
decltype(auto) | SUNphi::bind (SMET &&smet, const int id, DummyTypes...) |
Variables | |
template<typename T > | |
constexpr bool | SUNphi::isBinder = isBaseOf<BaseBinder ,T> |
Defines a class which binds a component of a SmET.
Definition in file Bind.hpp.
#define DEFINE_NAMED_BINDER | ( | TG, | |
NAME | |||
) |
Defines a Binder named NAME for type TG.
#define DEFINE_NAMED_RW_OR_COL_BINDER | ( | TG, | |
NAME | |||
) |
using SUNphi::ConstrainIsBinder = typedef ConstrainIsBaseOf<BaseBinder ,T> |
Class forcing T to inherits from BaseBinder
using SUNphi::ConstrainIsNotBinder = typedef ConstrainIsNotBaseOf<BaseBinder ,T> |
Class forcing T not to inherits from BaseBinder
using SUNphi::EnableIfIsBinder = typedef EnableIf< isBinder <T> ,Ret> |
decltype(auto) SUNphi::bind | ( | SMET && | smet, |
const int | id, | ||
DummyTypes... | |||
) |
constexpr bool SUNphi::isBinder = isBaseOf<BaseBinder ,T> |
Expression which is true if T inherits from BaseBinder