Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50269 - sandbox/libs/numeric/bindings/lapack/test
From: thomas.klimpel_at_[hidden]
Date: 2008-12-14 10:44:31


Author: klimpel
Date: 2008-12-14 10:44:30 EST (Sun, 14 Dec 2008)
New Revision: 50269
URL: http://svn.boost.org/trac/boost/changeset/50269

Log:
decided on a policy for using inline with template functions: use inline only for obvious cases like simple forwarders.

Text files modified:
   sandbox/libs/numeric/bindings/lapack/test/convenience.h | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: sandbox/libs/numeric/bindings/lapack/test/convenience.h
==============================================================================
--- sandbox/libs/numeric/bindings/lapack/test/convenience.h (original)
+++ sandbox/libs/numeric/bindings/lapack/test/convenience.h 2008-12-14 10:44:30 EST (Sun, 14 Dec 2008)
@@ -98,7 +98,7 @@
 struct MatrixGenerator<fmat_t>
 {
         typedef fmat_t Result;
- inline Result operator() (size_t m, size_t n)
+ Result operator() (size_t m, size_t n)
         {
                 Result mat(row_size, col_size);
                 mat(0,0) = 8.;
@@ -119,7 +119,7 @@
 struct MatrixGenerator<dmat_t>
 {
         typedef dmat_t Result;
- inline Result operator() (size_t m, size_t n)
+ Result operator() (size_t m, size_t n)
         {
                 Result mat(row_size, col_size);
                 mat(0,0) = 8.;
@@ -140,7 +140,7 @@
 struct MatrixGenerator<fcmat_t>
 {
         typedef fcmat_t Result;
- inline Result operator() (size_t m, size_t n)
+ Result operator() (size_t m, size_t n)
         {
                 typedef Result::value_type val_t;
 
@@ -163,7 +163,7 @@
 struct MatrixGenerator<dcmat_t>
 {
         typedef dcmat_t Result;
- inline Result operator() (size_t m, size_t n)
+ Result operator() (size_t m, size_t n)
         {
                 typedef Result::value_type val_t;
 
@@ -191,7 +191,7 @@
 struct VectorGenerator<fvec_t>
 {
         typedef fvec_t Result;
- inline Result operator() (size_t m)
+ Result operator() (size_t m)
         {
                 typedef Result::value_type val_t;
                 Result v(m);
@@ -210,7 +210,7 @@
 struct VectorGenerator<dvec_t>
 {
         typedef dvec_t Result;
- inline Result operator() (size_t m)
+ Result operator() (size_t m)
         {
                 typedef Result::value_type val_t;
                 Result v(m);
@@ -229,7 +229,7 @@
 struct VectorGenerator<fcvec_t>
 {
         typedef fcvec_t Result;
- inline Result operator() (size_t m)
+ Result operator() (size_t m)
         {
                 typedef Result::value_type val_t;
                 Result v(m);
@@ -248,7 +248,7 @@
 struct VectorGenerator<dcvec_t>
 {
         typedef dcvec_t Result;
- inline Result operator() (size_t m)
+ Result operator() (size_t m)
         {
                 typedef Result::value_type val_t;
                 Result v(m);


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