]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright Daniel Wallin, David Abrahams 2005. Use, modification and |
2 | // distribution is subject to the Boost Software License, Version 1.0. (See | |
3 | // accompanying file LICENSE_1_0.txt or copy at | |
4 | // http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | #ifndef BOOST_PARAMETER_VOID_050329_HPP | |
7 | #define BOOST_PARAMETER_VOID_050329_HPP | |
8 | ||
9 | namespace boost { namespace parameter { | |
10 | ||
11 | // A placemarker for "no argument passed." | |
12 | // MAINTAINER NOTE: Do not make this into a metafunction | |
13 | struct void_ {}; | |
14 | ||
15 | namespace aux | |
16 | { | |
17 | ||
18 | inline void_& void_reference() | |
19 | { | |
20 | static void_ instance; | |
21 | return instance; | |
22 | } | |
23 | ||
24 | } // namespace aux | |
25 | ||
26 | }} // namespace boost::parameter | |
27 | ||
28 | #endif // BOOST_PARAMETER_VOID_050329_HPP | |
29 |