|
||||
File indexing completed on 2025-01-18 09:29:37
0001 // Boost.Bimap 0002 // 0003 // Copyright (c) 2006-2007 Matias Capeletto 0004 // 0005 // Distributed under the Boost Software License, Version 1.0. 0006 // (See accompanying file LICENSE_1_0.txt or copy at 0007 // http://www.boost.org/LICENSE_1_0.txt) 0008 0009 /// \file detail/debug/static_error.hpp 0010 /// \brief Formatted compile time error 0011 0012 #ifndef BOOST_BIMAP_DETAIL_DEBUG_STATIC_ERROR_HPP 0013 #define BOOST_BIMAP_DETAIL_DEBUG_STATIC_ERROR_HPP 0014 0015 #if defined(_MSC_VER) 0016 #pragma once 0017 #endif 0018 0019 #include <boost/config.hpp> 0020 0021 #include <boost/mpl/assert.hpp> 0022 #include <boost/preprocessor/cat.hpp> 0023 0024 // Easier way to call BOOST_MPL_ASSERT_MSG in class scope to generate 0025 // a static error. 0026 /*===========================================================================*/ 0027 #define BOOST_BIMAP_STATIC_ERROR(MESSAGE,VARIABLES) \ 0028 BOOST_MPL_ASSERT_MSG(false, \ 0029 BOOST_PP_CAT(BIMAP_STATIC_ERROR__,MESSAGE), \ 0030 VARIABLES) 0031 /*===========================================================================*/ 0032 0033 0034 0035 #endif // BOOST_BIMAP_DETAIL_DEBUG_STATIC_ERROR_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |