Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70007 - trunk/boost/random
From: steven_at_[hidden]
Date: 2011-03-15 18:51:43


Author: steven_watanabe
Date: 2011-03-15 18:51:43 EDT (Tue, 15 Mar 2011)
New Revision: 70007
URL: http://svn.boost.org/trac/boost/changeset/70007

Log:
Intel and PGI don't seem to like the friend declarations as written.
Text files modified:
   trunk/boost/random/subtract_with_carry.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/random/subtract_with_carry.hpp
==============================================================================
--- trunk/boost/random/subtract_with_carry.hpp (original)
+++ trunk/boost/random/subtract_with_carry.hpp 2011-03-15 18:51:43 EDT (Tue, 15 Mar 2011)
@@ -260,7 +260,7 @@
         return x[(k+index) % long_lag];
     }
 
- friend void detail::subtract_with_carry_discard<>(subtract_with_carry_engine&, boost::uintmax_t);
+ friend void detail::subtract_with_carry_discard<>(subtract_with_carry_engine<IntType, w, s, r>&, boost::uintmax_t);
 
     IntType do_update(std::size_t current, std::size_t short_index, IntType carry)
     {
@@ -500,7 +500,7 @@
         return x[(k+index) % long_lag];
     }
 
- friend void detail::subtract_with_carry_discard<>(subtract_with_carry_01_engine&, boost::uintmax_t);
+ friend void detail::subtract_with_carry_discard<>(subtract_with_carry_01_engine<RealType, w, s, r>&, boost::uintmax_t);
 
     RealType do_update(std::size_t current, std::size_t short_index, RealType carry)
     {


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