]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/parameter/aux_/void.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / parameter / aux_ / void.hpp
1 // Copyright Daniel Wallin, David Abrahams 2005.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See 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 };
16 }} // namespace boost::parameter
17
18 namespace boost { namespace parameter { namespace aux {
19
20 inline ::boost::parameter::void_& void_reference()
21 {
22 static ::boost::parameter::void_ instance;
23 return instance;
24 }
25 }}} // namespace boost::parameter::aux
26
27 #include <boost/config/workaround.hpp>
28
29 #if BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x580))
30
31 namespace boost { namespace parameter { namespace aux {
32
33 typedef void* voidstar;
34 }}} // namespace boost::parameter::aux
35
36 #endif
37 #endif // include guard
38