|
Go to the documentation of this file.
28#define LAMBDA(expr) [&](){ return expr; }
30#define WHICH(...) lazy_which(MAP_LIST(LAMBDA, __VA_ARGS__))
32template< typename If, typename Then>
35 return cif() ? cthen() : decltype(cthen()){};
38template< typename If, typename Then, typename... Elses>
40 -> typename std::common_type< decltype(cthen()), decltype(celses())...>::type
42 return cif() ? cthen() : lazy_which(std::forward<Elses>(celses)...);
auto lazy_which(If &&cif, Then &&cthen) -> decltype(cthen())
If[spec=!=$Failed, Pole[M[hh]]/.(HSSUSY/. spec), 0]
|