|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51719 - sandbox/numeric_bindings/boost/numeric/bindings/blas
From: rutger_at_[hidden]
Date: 2009-03-11 16:43:00
Author: rutger
Date: 2009-03-11 16:42:59 EDT (Wed, 11 Mar 2009)
New Revision: 51719
URL: http://svn.boost.org/trac/boost/changeset/51719
Log:
moved dot_dispatcher to detail namespace
Text files modified:
sandbox/numeric_bindings/boost/numeric/bindings/blas/dot.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: sandbox/numeric_bindings/boost/numeric/bindings/blas/dot.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/blas/dot.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/blas/dot.hpp 2009-03-11 16:42:59 EDT (Wed, 11 Mar 2009)
@@ -22,6 +22,7 @@
namespace bindings {
namespace blas {
+namespace detail {
template< typename Vector >
struct dot_dispatcher {
typedef typename traits::vector_traits< Vector >::value_type value_type;
@@ -32,11 +33,12 @@
mpl::pair< traits::complex_d, level1::dotu_impl< value_type > > > map;
typedef typename mpl::at< map, value_type >::type routine;
};
+} // namespace detail
template< typename VectorX, typename VectorY >
-inline typename dot_dispatcher< VectorX >::routine::return_type
+inline typename detail::dot_dispatcher< VectorX >::routine::return_type
dot( VectorX& x, VectorY& y ) {
- typedef typename dot_dispatcher< VectorX >::routine routine;
+ typedef typename detail::dot_dispatcher< VectorX >::routine routine;
return routine::compute( x, y );
}
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