| 1 | // Copyright Daniel Wallin 2006. |
|---|---|
| 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_USE_DEFAULT_TAG_HPP |
| 7 | #define BOOST_PARAMETER_USE_DEFAULT_TAG_HPP |
| 8 | |
| 9 | #include <boost/config.hpp> |
| 10 | |
| 11 | namespace boost { namespace parameter { namespace aux { |
| 12 | |
| 13 | struct use_default_tag |
| 14 | { |
| 15 | inline BOOST_CONSTEXPR BOOST_DEFAULTED_FUNCTION(use_default_tag(), {}) |
| 16 | |
| 17 | inline BOOST_CONSTEXPR BOOST_DEFAULTED_FUNCTION( |
| 18 | use_default_tag(use_default_tag const&), {} |
| 19 | ) |
| 20 | |
| 21 | inline BOOST_CONSTEXPR use_default_tag operator()() const |
| 22 | { |
| 23 | return *this; |
| 24 | } |
| 25 | }; |
| 26 | }}} // namespace boost::parameter::aux |
| 27 | |
| 28 | #endif // include guard |
| 29 | |
| 30 |
