3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 22:03:43 +01:00

clef: correct TRIQS_CLEF_IMPLEMENT_LAZY_METHOD

- The name of the object was left to the name used in the test/debug.
This commit is contained in:
Olivier Parcollet 2014-04-25 16:06:44 +02:00
parent 384c05188c
commit 09bf713dc8

View File

@ -573,7 +573,7 @@ namespace triqs { namespace clef {
} \ } \
}; \ }; \
template <typename... A> \ template <typename... A> \
auto name(A&&... a) const -> typename triqs::clef::_result_of::make_expr_call<__clef_lazy_method_impl_##TY##_##name,const Obj&,A...>::type \ auto name(A&&... a) const -> typename triqs::clef::_result_of::make_expr_call<__clef_lazy_method_impl_##TY##_##name,const TY &,A...>::type \
{ return make_expr_call(__clef_lazy_method_impl_##TY##_##name{}, *this, std::forward<A>(a)...);} { return make_expr_call(__clef_lazy_method_impl_##TY##_##name{}, *this, std::forward<A>(a)...);}
#define TRIQS_CLEF_IMPLEMENT_LAZY_CALL(...) \ #define TRIQS_CLEF_IMPLEMENT_LAZY_CALL(...) \