mirror of
https://github.com/boostorg/parameter.git
synced 2026-01-19 04:22:13 +00:00
Trim trailing spaces.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <boost/parameter/aux_/tagged_argument.hpp>
|
||||
#include <boost/parameter/config.hpp>
|
||||
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
template <
|
||||
typename Keyword
|
||||
@@ -34,7 +34,7 @@ namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
#include <boost/mpl/bool.hpp>
|
||||
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
template <typename Keyword, typename ActualArg>
|
||||
struct tag_ref<Keyword,ActualArg,::boost::mpl::false_>
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace boost { namespace parameter { namespace aux {
|
||||
));
|
||||
#endif
|
||||
typedef int type;
|
||||
};
|
||||
};
|
||||
}}} // namespace boost::parameter::aux
|
||||
|
||||
#endif // include guard
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
::boost::parameter::aux::item< \
|
||||
BOOST_PP_CAT(PS, n), BOOST_PP_CAT(A, n)
|
||||
|
||||
#define BOOST_PARAMETER_close_list(z, n, text) >
|
||||
#define BOOST_PARAMETER_close_list(z, n, text) >
|
||||
|
||||
#define BOOST_PARAMETER_arg_list(n) \
|
||||
::boost::parameter::aux::make_arg_list< \
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <boost/mp11/utility.hpp>
|
||||
#include <type_traits>
|
||||
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
template <typename Keyword, typename Arg>
|
||||
struct tag_if_lvalue_reference
|
||||
@@ -75,7 +75,7 @@ namespace boost { namespace parameter { namespace aux {
|
||||
#include <boost/type_traits/is_lvalue_reference.hpp>
|
||||
#include <boost/type_traits/remove_const.hpp>
|
||||
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
template <typename Keyword, typename ActualArg>
|
||||
struct tag
|
||||
@@ -119,7 +119,7 @@ namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
#else // !defined(BOOST_PARAMETER_HAS_PERFECT_FORWARDING)
|
||||
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
template <
|
||||
typename Keyword
|
||||
@@ -142,7 +142,7 @@ namespace boost { namespace parameter { namespace aux {
|
||||
#include <boost/mpl/bool.hpp>
|
||||
#include <boost/type_traits/remove_reference.hpp>
|
||||
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
template <typename Keyword, typename Arg>
|
||||
struct tag<Keyword,Arg,::boost::mpl::false_>
|
||||
|
||||
@@ -121,7 +121,7 @@ namespace boost { namespace parameter { namespace aux {
|
||||
typedef boost::mpl::bool_<
|
||||
#if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x564))
|
||||
is_cv_reference_wrapper::
|
||||
#endif
|
||||
#endif
|
||||
value> type;
|
||||
};
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef BOOST_PARAMETER_VOID_050329_HPP
|
||||
#define BOOST_PARAMETER_VOID_050329_HPP
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
// A placemarker for "no argument passed."
|
||||
// MAINTAINER NOTE: Do not make this into a metafunction
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
#endif
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
// A metafunction that, given an argument pack, returns the reference type
|
||||
// of the parameter identified by the given keyword. If no such parameter
|
||||
@@ -100,7 +100,7 @@ namespace boost { namespace parameter {
|
||||
|
||||
#include <boost/parameter/aux_/is_placeholder.hpp>
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
template <
|
||||
typename Parameters
|
||||
@@ -132,7 +132,7 @@ namespace boost { namespace parameter {
|
||||
|
||||
#include <boost/parameter/aux_/result_of0.hpp>
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
// A metafunction that, given an argument pack, returns the reference type
|
||||
// of the parameter identified by the given keyword. If no such parameter
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/**/
|
||||
#else
|
||||
#define BOOST_PARAMETER_MATCH_DEFAULTS(ArgTypes)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <boost/parameter/aux_/preprocessor/seq_enum.hpp>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <boost/type_traits/is_array.hpp>
|
||||
#endif
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
template <typename Tag, typename T>
|
||||
struct template_keyword : ::boost::parameter::aux::template_keyword_base
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
#endif
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
// A metafunction that, given an argument pack, returns the value type
|
||||
// of the parameter identified by the given keyword. If no such parameter
|
||||
@@ -100,7 +100,7 @@ namespace boost { namespace parameter {
|
||||
|
||||
#include <boost/parameter/aux_/is_placeholder.hpp>
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
template <
|
||||
typename Parameters
|
||||
@@ -132,7 +132,7 @@ namespace boost { namespace parameter {
|
||||
|
||||
#include <boost/parameter/aux_/result_of0.hpp>
|
||||
|
||||
namespace boost { namespace parameter {
|
||||
namespace boost { namespace parameter {
|
||||
|
||||
// A metafunction that, given an argument pack, returns the value type
|
||||
// of the parameter identified by the given keyword. If no such parameter
|
||||
|
||||
@@ -91,14 +91,14 @@ namespace test {
|
||||
BOOST_PARAMETER_FUN(int, f, 1, 4, f_parameters)
|
||||
#else
|
||||
BOOST_PARAMETER_FUN(void, f, 1, 4, f_parameters)
|
||||
#endif
|
||||
#endif
|
||||
{
|
||||
BOOST_TEST_EQ(p[test::_w][0], p[test::_x | -1]);
|
||||
BOOST_TEST_EQ(p[test::_w][1], p[test::_y | -2]);
|
||||
BOOST_TEST_EQ(p[test::_w][2], p[test::_z | -3]);
|
||||
#if defined(BOOST_NO_VOID_RETURNS)
|
||||
return 0;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
} // namespace test
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace test {
|
||||
// or other processes and even device hardware interrupts may
|
||||
// interfere by causing caches to be flushed.
|
||||
|
||||
// Accumulator function object with plain C++ interface
|
||||
// Accumulator function object with plain C++ interface
|
||||
template <typename T>
|
||||
struct plain_weight_running_total
|
||||
{
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace test {
|
||||
return 1;
|
||||
}
|
||||
|
||||
struct X
|
||||
struct X
|
||||
{
|
||||
X(int x_ = -1) : x(x_)
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@ class timer
|
||||
// where std::clock_t overflows or resets at surprising values.
|
||||
{
|
||||
return (double((std::numeric_limits<std::clock_t>::max)())
|
||||
- double(_start_time)) / double(CLOCKS_PER_SEC);
|
||||
- double(_start_time)) / double(CLOCKS_PER_SEC);
|
||||
}
|
||||
|
||||
double elapsed_min() const // return minimum value for elapsed()
|
||||
|
||||
Reference in New Issue
Block a user