ConfigHelper.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 // This file is part of FZIs ic_workspace.
00005 //
00006 // This program is free software licensed under the LGPL
00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00008 // You can find a copy of this license in LICENSE folder in the top
00009 // directory of the source code.
00010 //
00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 //
00013 // -- END LICENSE BLOCK ------------------------------------------------
00014 
00015 //----------------------------------------------------------------------
00028 //----------------------------------------------------------------------
00029 #ifndef ICL_CORE_CONFIG_CONFIG_HELPER_H_INCLUDED
00030 #define ICL_CORE_CONFIG_CONFIG_HELPER_H_INCLUDED
00031 
00032 #if defined(_MSC_VER)
00033 # if _MSC_VER >= 1600
00034 #  define ICL_CORE_CONFIG_HAS_ENHANCED_CONFIG_MACROS
00035 #  define ICL_CORE_CONFIG_TYPEOF(value) decltype(value)
00036 # else
00037 #  include <boost/typeof/typeof.hpp>
00038 #  define ICL_CORE_CONFIG_HAS_ENHANCED_CONFIG_MACROS
00039 #  define ICL_CORE_CONFIG_TYPEOF(value) BOOST_TYPEOF(value)
00040 //#  pragma message("The CONFIG_VALUE convenience macros are only available in Visual Studio 2010 and newer.")
00041 //#  define ICL_CORE_CONFIG_TYPEOF(value) THIS_FEATURE_IS_NOT_AVAILABLE_ON_YOUR_COMPILER
00042 # endif
00043 #else
00044 # define ICL_CORE_CONFIG_HAS_ENHANCED_CONFIG_MACROS
00045 # define ICL_CORE_CONFIG_TYPEOF(value) __typeof__(value)
00046 #endif
00047 
00048 #endif


fzi_icl_core
Author(s):
autogenerated on Thu Jun 6 2019 20:22:23