annotate DEPENDENCIES/generic/include/boost/parameter/aux_/void.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // Copyright Daniel Wallin, David Abrahams 2005. Use, modification and
Chris@16 2 // distribution is subject to the Boost Software License, Version 1.0. (See
Chris@16 3 // accompanying file LICENSE_1_0.txt or copy at
Chris@16 4 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 5
Chris@16 6 #ifndef BOOST_PARAMETER_VOID_050329_HPP
Chris@16 7 #define BOOST_PARAMETER_VOID_050329_HPP
Chris@16 8
Chris@16 9 namespace boost { namespace parameter {
Chris@16 10
Chris@16 11 // A placemarker for "no argument passed."
Chris@16 12 // MAINTAINER NOTE: Do not make this into a metafunction
Chris@16 13 struct void_ {};
Chris@16 14
Chris@16 15 namespace aux
Chris@16 16 {
Chris@16 17
Chris@16 18 inline void_& void_reference()
Chris@16 19 {
Chris@16 20 static void_ instance;
Chris@16 21 return instance;
Chris@16 22 }
Chris@16 23
Chris@16 24 } // namespace aux
Chris@16 25
Chris@16 26 }} // namespace boost::parameter
Chris@16 27
Chris@16 28 #endif // BOOST_PARAMETER_VOID_050329_HPP
Chris@16 29