Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58546 - sandbox/numeric_bindings/libs/numeric/bindings/tools
From: rutger_at_[hidden]
Date: 2009-12-28 10:29:09


Author: rutger
Date: 2009-12-28 10:29:09 EST (Mon, 28 Dec 2009)
New Revision: 58546
URL: http://svn.boost.org/trac/boost/changeset/58546

Log:
bugfix in permutation selection (limits overload generation somehow)

Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/tools/bindings.py 2009-12-28 10:29:09 EST (Mon, 28 Dec 2009)
@@ -248,7 +248,11 @@
 
     for i in range( 0, len(argument_list) ):
         argument = argument_list[i]
- if 'const' not in argument[0:5] and '&' in argument:
+ if 'const' not in argument and \
+ 'char' not in argument and \
+ 'ptrdiff_t' not in argument and \
+ 'typename' not in argument and \
+ '&' in argument:
             permute_indices.append( i )
 
     print " To be permuted: ", permute_indices


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