mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 03:33:50 +01:00
e82d95d1a8
- add c14 include - the C++14 is lot more readable (due to generic lambda). - for mesh/product.hpp -> now 2 versions (C++14 and C++11 for temporary backward compatibility).
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
/*******************************************************************************
|
|
*
|
|
* TRIQS: a Toolbox for Research in Interacting Quantum Systems
|
|
*
|
|
* Copyright (C) 2012-2013 by O. Parcollet
|
|
*
|
|
* TRIQS is free software: you can redistribute it and/or modify it under the
|
|
* terms of the GNU General Public License as published by the Free Software
|
|
* Foundation, either version 3 of the License, or (at your option) any later
|
|
* version.
|
|
*
|
|
* TRIQS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
* details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with
|
|
* TRIQS. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
******************************************************************************/
|
|
#pragma once
|
|
#if defined(__cpp_generic_lambdas) && defined (__cpp_decltype_auto) && defined(__cpp_return_type_deduction)
|
|
// simplest code, in c++14
|
|
#include "./product.c14.hpp"
|
|
#else
|
|
// workaround for C++11
|
|
#include "./product.c11.hpp"
|
|
#endif
|
|
|