ALPSCore reference
common.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1998-2018 ALPS Collaboration. See COPYRIGHT.TXT
3  * All rights reserved. Use is subject to license terms. See LICENSE.TXT
4  * For use in publications, see ACKNOWLEDGE.TXT
5  */
6 
7 #ifndef ALPSCORE_COMMON_HPP
8 #define ALPSCORE_COMMON_HPP
9 
10 namespace alps {
11  // define function return type and return statement based on the value that should be returned
12  #define DECLTYPE(ret) decltype(ret) { return ret; }
13 }
14 
15 #endif //ALPSCORE_COMMON_HPP