Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61276 - trunk/boost/accumulators/numeric/functional
From: eric_at_[hidden]
Date: 2010-04-14 15:19:30


Author: eric_niebler
Date: 2010-04-14 15:19:29 EDT (Wed, 14 Apr 2010)
New Revision: 61276
URL: http://svn.boost.org/trac/boost/changeset/61276

Log:
work around strange name lookup issues on msvc
Text files modified:
   trunk/boost/accumulators/numeric/functional/valarray.hpp | 8 ++++----
   trunk/boost/accumulators/numeric/functional/vector.hpp | 8 ++++----
   2 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/boost/accumulators/numeric/functional/valarray.hpp
==============================================================================
--- trunk/boost/accumulators/numeric/functional/valarray.hpp (original)
+++ trunk/boost/accumulators/numeric/functional/valarray.hpp 2010-04-14 15:19:29 EDT (Wed, 14 Apr 2010)
@@ -29,7 +29,7 @@
 {
     namespace operators
     {
- namespace detail
+ namespace acc_detail
         {
             template<typename Fun>
             struct make_valarray
@@ -43,7 +43,7 @@
         template<typename Left, typename Right>
         typename lazy_enable_if<
             mpl::and_<is_scalar<Right>, mpl::not_<is_same<Left, Right> > >
- , detail::make_valarray<functional::divides<Left, Right> >
+ , acc_detail::make_valarray<functional::divides<Left, Right> >
>::type
         operator /(std::valarray<Left> const &left, Right const &right)
         {
@@ -61,7 +61,7 @@
         template<typename Left, typename Right>
         typename lazy_enable_if<
             mpl::and_<is_scalar<Right>, mpl::not_<is_same<Left, Right> > >
- , detail::make_valarray<functional::multiplies<Left, Right> >
+ , acc_detail::make_valarray<functional::multiplies<Left, Right> >
>::type
         operator *(std::valarray<Left> const &left, Right const &right)
         {
@@ -79,7 +79,7 @@
         template<typename Left, typename Right>
         typename lazy_disable_if<
             is_same<Left, Right>
- , detail::make_valarray<functional::plus<Left, Right> >
+ , acc_detail::make_valarray<functional::plus<Left, Right> >
>::type
         operator +(std::valarray<Left> const &left, std::valarray<Right> const &right)
         {

Modified: trunk/boost/accumulators/numeric/functional/vector.hpp
==============================================================================
--- trunk/boost/accumulators/numeric/functional/vector.hpp (original)
+++ trunk/boost/accumulators/numeric/functional/vector.hpp 2010-04-14 15:19:29 EDT (Wed, 14 Apr 2010)
@@ -28,7 +28,7 @@
 {
     namespace operators
     {
- namespace detail
+ namespace acc_detail
         {
             template<typename Fun>
             struct make_vector
@@ -42,7 +42,7 @@
         template<typename Left, typename Right>
         typename lazy_enable_if<
             is_scalar<Right>
- , detail::make_vector<functional::divides<Left, Right> >
+ , acc_detail::make_vector<functional::divides<Left, Right> >
>::type
         operator /(std::vector<Left> const &left, Right const &right)
         {
@@ -75,7 +75,7 @@
         template<typename Left, typename Right>
         typename lazy_enable_if<
             is_scalar<Right>
- , detail::make_vector<functional::multiplies<Left, Right> >
+ , acc_detail::make_vector<functional::multiplies<Left, Right> >
>::type
         operator *(std::vector<Left> const &left, Right const &right)
         {
@@ -93,7 +93,7 @@
         template<typename Left, typename Right>
         typename lazy_enable_if<
             is_scalar<Left>
- , detail::make_vector<functional::multiplies<Left, Right> >
+ , acc_detail::make_vector<functional::multiplies<Left, Right> >
>::type
         operator *(Left const &left, std::vector<Right> const &right)
         {


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