ConfigHelper.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 // This file is part of FZIs ic_workspace.
5 //
6 // This program is free software licensed under the LGPL
7 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
8 // You can find a copy of this license in LICENSE folder in the top
9 // directory of the source code.
10 //
11 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
12 //
13 // -- END LICENSE BLOCK ------------------------------------------------
14 
15 //----------------------------------------------------------------------
28 //----------------------------------------------------------------------
29 #ifndef ICL_CORE_CONFIG_CONFIG_HELPER_H_INCLUDED
30 #define ICL_CORE_CONFIG_CONFIG_HELPER_H_INCLUDED
31 
32 #if defined(_MSC_VER)
33 # if _MSC_VER >= 1600
34 # define ICL_CORE_CONFIG_HAS_ENHANCED_CONFIG_MACROS
35 # define ICL_CORE_CONFIG_TYPEOF(value) decltype(value)
36 # else
37 # include <boost/typeof/typeof.hpp>
38 # define ICL_CORE_CONFIG_HAS_ENHANCED_CONFIG_MACROS
39 # define ICL_CORE_CONFIG_TYPEOF(value) BOOST_TYPEOF(value)
40 //# pragma message("The CONFIG_VALUE convenience macros are only available in Visual Studio 2010 and newer.")
41 //# define ICL_CORE_CONFIG_TYPEOF(value) THIS_FEATURE_IS_NOT_AVAILABLE_ON_YOUR_COMPILER
42 # endif
43 #else
44 # define ICL_CORE_CONFIG_HAS_ENHANCED_CONFIG_MACROS
45 # define ICL_CORE_CONFIG_TYPEOF(value) __typeof__(value)
46 #endif
47 
48 #endif


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:58