Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60664 - sandbox/statistics/detail/assign/boost/assign/auto_size/comparison_op
From: erwann.rogard_at_[hidden]
Date: 2010-03-16 19:50:02


Author: e_r
Date: 2010-03-16 19:50:01 EDT (Tue, 16 Mar 2010)
New Revision: 60664
URL: http://svn.boost.org/trac/boost/changeset/60664

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/comparison_op/crtp.hpp | 4 +---
   1 files changed, 1 insertions(+), 3 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/comparison_op/crtp.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/comparison_op/crtp.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/comparison_op/crtp.hpp 2010-03-16 19:50:01 EDT (Tue, 16 Mar 2010)
@@ -36,8 +36,6 @@
     // operator >= (const L&,const R&) P::greater_equal(l,r)
     template<typename D,typename P>
     struct crtp{
- crtp(){}
-
         struct comparison_op_traits{
             typedef P policy_;
             typedef D derived_;
@@ -81,7 +79,7 @@
     template<typename T>
     struct is_base_of : boost::mpl::eval_if<
         traits::has_traits<T>,
- traits::is_base_of_impl<T>,
+ traits::is_base_of_impl<T>, // safety check
         boost::mpl::identity< boost::mpl::bool_<false> >
>{};
 


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