|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56292 - sandbox/numeric_bindings/libs/numeric/bindings/tools/templates
From: rutger_at_[hidden]
Date: 2009-09-18 05:40:24
Author: rutger
Date: 2009-09-18 05:40:23 EDT (Fri, 18 Sep 2009)
New Revision: 56292
URL: http://svn.boost.org/trac/boost/changeset/56292
Log:
minor updates
Text files modified:
sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp | 4 ++--
sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/lapack.hpp | 15 ++++++++++-----
2 files changed, 12 insertions(+), 7 deletions(-)
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/blas.hpp 2009-09-18 05:40:23 EDT (Fri, 18 Sep 2009)
@@ -50,7 +50,7 @@
typedef $RETURN_TYPE return_type;
$INCLUDE_TEMPLATES
- // templated specialization
+ // static template member function
template< $TYPES >
static return_type invoke( $LEVEL1 ) {
$STATIC_ASSERTS
@@ -58,7 +58,7 @@
}
};
$TEMPLATE[blas_level2]
-// generic template function for calling to $groupname
+// generic template function to call $groupname
template< $TYPES >
inline typename $groupname_impl< typename traits::$TYPEOF_FIRST_TYPENAME_traits< $FIRST_TYPENAME >::value_type >::return_type
$groupname( $LEVEL2 ) {
Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/lapack.hpp
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/lapack.hpp (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/templates/lapack.hpp 2009-09-18 05:40:23 EDT (Fri, 18 Sep 2009)
@@ -26,17 +26,22 @@
// overloaded functions to call lapack
namespace detail {
-$OVERLOADS}
+
+$OVERLOADS} // namespace detail
$LEVEL1
$LEVEL2
-}}}} // namespace boost::numeric::bindings::lapack
+} // namespace lapack
+} // namespace bindings
+} // namespace numeric
+} // namespace boost
#endif
$TEMPLATE[lapack_overloads]
- inline void $groupname( $LEVEL0 ) {
- LAPACK_$SUBROUTINE( $CALL_C_HEADER );
- }
+inline void $groupname( $LEVEL0 ) {
+ LAPACK_$SUBROUTINE( $CALL_C_HEADER );
+}
+
$TEMPLATE[level1_pre_header]
// value-type based template
template< typename ValueType, typename Enable = void >
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