mirror of
https://github.com/triqs/dft_tools
synced 2024-12-26 06:14:14 +01:00
clef : correction of TRIQS_CLEF_IMPLEMENT_LAZY_METHOD for clang 3.3
- there was a compilation pb with clang 3.3 - replace the decltype (with this !) by an explicit type
This commit is contained in:
parent
4ae4dfd42b
commit
2f2104e86e
@ -573,7 +573,8 @@ namespace triqs { namespace clef {
|
|||||||
} \
|
} \
|
||||||
}; \
|
}; \
|
||||||
template <typename... A> \
|
template <typename... A> \
|
||||||
auto name(A&&... a) DECL_AND_RETURN(make_expr_call(__clef_lazy_method_impl_##TY##_##name{}, *this, std::forward<A>(a)...));
|
auto name(A&&... a) const -> typename _result_of::make_expr_call<__clef_lazy_method_impl_##TY##_##name,const Obj&,A...>::type \
|
||||||
|
{ 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(...) \
|
||||||
template <typename... Args> \
|
template <typename... Args> \
|
||||||
|
Loading…
Reference in New Issue
Block a user