12345678910111213141516171819202122232425262728293031323334 |
- ///////////////////////////////////////////////////////////////////////////////
- /// \file dont_care.hpp
- /// Definintion of dont_care, a dummy parameter
- //
- // Copyright 2008 Eric Niebler. Distributed under the Boost
- // Software License, Version 1.0. (See accompanying file
- // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- #ifndef BOOST_PROTO_DETAIL_DONT_CARE_HPP_EAN_11_07_2007
- #define BOOST_PROTO_DETAIL_DONT_CARE_HPP_EAN_11_07_2007
- #include <boost/config.hpp>
- #if defined(_MSC_VER)
- # pragma warning(push)
- # pragma warning(disable : 4714) // function 'xxx' marked as __forceinline not inlined
- #endif
- namespace boost { namespace proto
- {
- namespace detail
- {
- struct dont_care
- {
- BOOST_FORCEINLINE dont_care(...);
- };
- }
- }}
- #if defined(_MSC_VER)
- # pragma warning(pop)
- #endif
- #endif
|