|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66933 - sandbox/statistics/support/boost/assign/v2/detail/functor
From: erwann.rogard_at_[hidden]
Date: 2010-11-30 17:34:12
Author: e_r
Date: 2010-11-30 17:34:09 EST (Tue, 30 Nov 2010)
New Revision: 66933
URL: http://svn.boost.org/trac/boost/changeset/66933
Log:
costmetic upd in boost/assign/v2
Text files modified:
sandbox/statistics/support/boost/assign/v2/detail/functor/identity.hpp | 2 +-
sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp | 26 +++++++++++++-------------
2 files changed, 14 insertions(+), 14 deletions(-)
Modified: sandbox/statistics/support/boost/assign/v2/detail/functor/identity.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/functor/identity.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/functor/identity.hpp 2010-11-30 17:34:09 EST (Tue, 30 Nov 2010)
@@ -59,7 +59,7 @@
#endif
- struct identity
+ struct identity
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
// do nothing
#else
Modified: sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/functor/new.hpp 2010-11-30 17:34:09 EST (Tue, 30 Nov 2010)
@@ -30,27 +30,27 @@
namespace v2{
namespace functor_aux{
- template<typename T>
- class new_
+ template<typename T>
+ class new_
#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::new_<T>,
boost::mpl::always<T*>
>
#endif
- {
+ {
typedef T* ptr_;
- typedef functor_aux::new_<T> this_;
+ typedef functor_aux::new_<T> this_;
public:
typedef ptr_ result_type;
- new_(){}
+ new_(){}
- result_type operator()()const{ return new T(); }
+ result_type operator()()const{ return new T(); }
#if BOOST_ASSIGN_V2_ENABLE_CPP0X
template<typename... Args>
@@ -64,7 +64,7 @@
typedef functor_aux::crtp_unary_and_up<this_, meta_result_> super_;
public:
- using super_::operator();
+ using super_::operator();
#define MACRO(z, N, data) \
template<BOOST_PP_ENUM_PARAMS(N, typename T)> \
@@ -83,7 +83,7 @@
};
- template<typename V>
+ template<typename V>
struct deduce_new_
{
typedef typename container_type_traits::value<V>::type value_;
@@ -94,16 +94,16 @@
}// functor_aux
namespace result_of{
- template<typename T>
- struct new_
+ template<typename T>
+ struct new_
{
typedef functor_aux::new_<T> type;
};
}// result_of
- template<typename T>
- typename result_of::new_<T>::type
+ template<typename T>
+ typename result_of::new_<T>::type
new_()
{
typedef typename result_of::new_<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