Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50027 - trunk/boost/units
From: steven_at_[hidden]
Date: 2008-11-29 16:31:52


Author: steven_watanabe
Date: 2008-11-29 16:31:52 EST (Sat, 29 Nov 2008)
New Revision: 50027
URL: http://svn.boost.org/trac/boost/changeset/50027

Log:
Help pathscale?
Text files modified:
   trunk/boost/units/pow.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/units/pow.hpp
==============================================================================
--- trunk/boost/units/pow.hpp (original)
+++ trunk/boost/units/pow.hpp 2008-11-29 16:31:52 EST (Sat, 29 Nov 2008)
@@ -85,7 +85,10 @@
 /// take @c static_rational root of an @c T
 template<class T, long N,long D>
 struct root_typeof_helper<T,static_rational<N,D> >
- : power_typeof_helper<T, static_rational<D,N> > {};
+ : power_typeof_helper<T, static_rational<D,N> > {
+ // help pathscale?
+ typedef typename power_typeof_helper<T, static_rational<D,N> >::type type;
+};
 
 #endif
 


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