|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66931 - sandbox/statistics/support/boost/assign/v2/detail/functor
From: erwann.rogard_at_[hidden]
Date: 2010-11-30 17:20:08
Author: e_r
Date: 2010-11-30 17:20:07 EST (Tue, 30 Nov 2010)
New Revision: 66931
URL: http://svn.boost.org/trac/boost/changeset/66931
Log:
costmetic upd in boost/assign/v2
Text files modified:
sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp | 44 ++++++++++++++++++++--------------------
1 files changed, 22 insertions(+), 22 deletions(-)
Modified: sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/functor/constructor.hpp 2010-11-30 17:20:07 EST (Tue, 30 Nov 2010)
@@ -29,39 +29,39 @@
namespace v2{
namespace functor_aux{
- template<typename T>
- class constructor
+ template<typename T>
+ class constructor
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
// do nothing
#else
- : public functor_aux::crtp_unary_and_up<
+ : public functor_aux::crtp_unary_and_up<
functor_aux::constructor<T>,
boost::mpl::always<T>
>
#endif
{
- typedef functor_aux::constructor<T> this_;
+ typedef functor_aux::constructor<T> this_;
- public:
+ public:
- constructor(){}
+ constructor(){}
- T operator()()const{ return T(); }
+ T operator()()const{ return T(); }
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
- template<typename... Args>
- T operator()(Args&&...args)const
- {
- return T( std::forward<Args>(args)... );
- }
+ template<typename... Args>
+ T operator()(Args&&...args)const
+ {
+ return T( std::forward<Args>(args)... );
+ }
#else
- protected:
- typedef boost::mpl::always<T> meta_result_;
- typedef functor_aux::crtp_unary_and_up<this_, meta_result_> super_;
+ protected:
+ typedef boost::mpl::always<T> meta_result_;
+ typedef functor_aux::crtp_unary_and_up<this_, meta_result_> super_;
- public:
+ public:
- using super_::operator();
+ using super_::operator();
#define MACRO(z,N,data) \
template<BOOST_PP_ENUM_PARAMS(N,typename T)> \
@@ -80,7 +80,7 @@
#endif
};
- template<typename V>
+ template<typename V>
struct deduce_constructor
{
typedef typename container_type_traits::value<V>::type value_;
@@ -92,16 +92,16 @@
}// functor_aux
namespace result_of{
- template<typename T>
- struct constructor
+ template<typename T>
+ struct constructor
{
typedef functor_aux::constructor<T> type;
};
}// result_of
- template<typename T>
- typename result_of::constructor<T>::type
+ template<typename T>
+ typename result_of::constructor<T>::type
constructor()
{
typedef typename result_of::constructor<T>::type result_;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk