lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [lmi] passing objects instead of references to value_cast


From: Vadim Zeitlin
Subject: Re[2]: [lmi] passing objects instead of references to value_cast
Date: Thu, 26 Jun 2008 19:27:02 +0200

On Thu, 26 Jun 2008 17:24:40 +0000 Greg Chicares <address@hidden> wrote:

GC> On 2008-06-13 01:54Z, Vadim Zeitlin wrote:
GC> [...]
GC> >  Notice that I decided to use boost::is_arithmetic<> instead of continuing
GC> > to use std::numeric_limits<>
GC> 
GC> Already changed in HEAD; but....
GC> 
GC> > after applying remove_const<> to FromDeref
GC> > type because the former seems more natural to me and because I thought 
that
GC> > "boost::remove_const<typename boost::remove_reference<From> >" was a bit
GC> > clumsy
GC> [...]
GC> > +    typedef typename boost::remove_reference<From>::type FromDeref;
GC> 
GC> On 20080626T1709Z I committed the remainder of this patch, except
GC> for 'FromDeref'--is it necessary?

 I think it was (and for g++ 4.1, not MSVC, although maybe MSVC needed it
too but I didn't test the version without it with it) but I'll need to
merge the latest cvs HEAD with my tree to be able to retest it and confirm
it.

 Regards,
VZ





reply via email to

[Prev in Thread] Current Thread [Next in Thread]