3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 03:33:50 +01:00

Fix previous commit for c++11

This commit is contained in:
Olivier Parcollet 2014-10-21 23:49:57 +02:00
parent a34f23580a
commit ee42e24fba

View File

@ -91,8 +91,9 @@ namespace mpi {
// For all tags : return a T or a lazy object
// Tag = reduce, all_reduce, scatter, gather, allgather
template<typename Tag>
static auto invoke(Tag, communicator c, T const &a, int root);
// comment because does not compile on C++11
//template<typename Tag>
//static auto invoke(Tag, communicator c, T const &a, int root);
// invoke2 (lhs, Tag, c, a, root) is the same as lhs = invoke(Tag, c, a, root);
// it implements the operation