1 #ifndef _UNARYMINUS_HPP 2 #define _UNARYMINUS_HPP 8 #include <physics/Spin.hpp> 9 #include <smet/NnarySmET.hpp> 10 #include <tens/TensKind.hpp> 18 template <
typename..._Refs>
21 public NnarySmET<UMinuser<_Refs...>>,
22 public ConstrainAreSmETs<_Refs...>
64 return uMinus(forw<T>(smet));
#define SAME_TK_AS_REF(ID)
Get the same TensKind of a given ref.
#define NO_EXTRA_MERGE_DELIMS
Add an empty ExtraDelims.
#define PROVIDE_SIMPLE_NNARY_COMP_SIZE
#define CANCEL_DUPLICATED_NNARY_SMET_CALL(CALLER,NNARY_SMET)
#define REPRESENTATIVE_FUNCTION_WINS_ALL
Provides Fund, eval and mergedComps according to representativeFunction.
#define FORWARD_IS_ALIASING_TO_REFS
#define PROVIDE_NNARY_SMET_SIMPLE_CREATOR(NNARY_SMET)
Defines a simple creator taking n references.
#define STATIC_ASSERT_IS_NNARY_SMET(...)
Defines the check for a Nnary SmET.
#define SFINAE_ON_TEMPLATE_ARG(...)
#define NOT_STORING
Set the SmET to not-storing.
#define DECLAUTO
Short name for decltype(auto)
#define SIMPLE_NNARY_SMET_BUILDER(BUILDER,NNARY_SMET)
#define PROVIDE_NNARY_SMET_REFS_AND_CHECK_ARE_N(N)
#define DEFINE_BASE_TYPE(TYPE,...)