Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:15:12

0001 
0002 // Copyright (C) 2009-2012 Lorenzo Caminiti
0003 // Distributed under the Boost Software License, Version 1.0
0004 // (see accompanying file LICENSE_1_0.txt or a copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
0006 // Home at http://www.boost.org/libs/local_function
0007 
0008 #ifndef BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER_HPP_
0009 #define BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER_HPP_
0010 
0011 #include <boost/config.hpp>
0012 
0013 // PUBLIC //
0014 
0015 // MSVC has problems expanding __LINE__ so use (the non standard) __COUNTER__.
0016 #ifdef BOOST_MSVC
0017 #   define BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER __COUNTER__
0018 #else
0019 #   define BOOST_LOCAL_FUNCTION_DETAIL_PP_LINE_COUNTER __LINE__
0020 #endif
0021 
0022 #endif // #include guard
0023