39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
// Copyright Daniel Wallin, David Abrahams 2005.
|
|
// 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 ACTIV_BOOST_PARAMETER_VOID_050329_HPP
|
|
#define ACTIV_BOOST_PARAMETER_VOID_050329_HPP
|
|
|
|
namespace Boost { namespace parameter {
|
|
|
|
// A placemarker for "no argument passed."
|
|
// MAINTAINER NOTE: Do not make this into a metafunction
|
|
struct void_
|
|
{
|
|
};
|
|
}} // namespace Boost::parameter
|
|
|
|
namespace Boost { namespace parameter { namespace aux {
|
|
|
|
inline ::Boost::parameter::void_& void_reference()
|
|
{
|
|
static ::Boost::parameter::void_ instance;
|
|
return instance;
|
|
}
|
|
}}} // namespace Boost::parameter::aux
|
|
|
|
#include <ActivBoost/config/workaround.hpp>
|
|
|
|
#if ACTIV_BOOST_WORKAROUND(__SUNPRO_CC, ACTIV_BOOST_TESTED_AT(0x580))
|
|
|
|
namespace Boost { namespace parameter { namespace aux {
|
|
|
|
typedef void* voidstar;
|
|
}}} // namespace Boost::parameter::aux
|
|
|
|
#endif
|
|
#endif // include guard
|
|
|