]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
92f5a8d4
TL
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
7c673cae
FG
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
9namespace boost { namespace parameter {
10
92f5a8d4
TL
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
7c673cae 17
92f5a8d4 18namespace boost { namespace parameter { namespace aux {
7c673cae 19
92f5a8d4
TL
20 inline ::boost::parameter::void_& void_reference()
21 {
22 static ::boost::parameter::void_ instance;
23 return instance;
24 }
25}}} // namespace boost::parameter::aux
7c673cae 26
92f5a8d4 27#include <boost/config/workaround.hpp>
7c673cae 28
92f5a8d4
TL
29#if BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x580))
30
31namespace boost { namespace parameter { namespace aux {
32
33 typedef void* voidstar;
34}}} // namespace boost::parameter::aux
7c673cae 35
92f5a8d4
TL
36#endif
37#endif // include guard
7c673cae 38