]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | /// \file dont_care.hpp | |
3 | /// Definintion of dont_care, a dummy parameter | |
4 | // | |
5 | // Copyright 2008 Eric Niebler. Distributed under the Boost | |
6 | // Software License, Version 1.0. (See accompanying file | |
7 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
8 | ||
9 | #ifndef BOOST_PROTO_DETAIL_DONT_CARE_HPP_EAN_11_07_2007 | |
10 | #define BOOST_PROTO_DETAIL_DONT_CARE_HPP_EAN_11_07_2007 | |
11 | ||
12 | #include <boost/config.hpp> | |
13 | ||
14 | #if defined(_MSC_VER) | |
15 | # pragma warning(push) | |
16 | # pragma warning(disable : 4714) // function 'xxx' marked as __forceinline not inlined | |
17 | #endif | |
18 | ||
19 | namespace boost { namespace proto | |
20 | { | |
21 | namespace detail | |
22 | { | |
23 | struct dont_care | |
24 | { | |
25 | BOOST_FORCEINLINE dont_care(...); | |
26 | }; | |
27 | } | |
28 | }} | |
29 | ||
30 | #if defined(_MSC_VER) | |
31 | # pragma warning(pop) | |
32 | #endif | |
33 | ||
34 | #endif |