[C++-sig] How to exclude a function from being exported using pyste.

David Abrahams dave at boost-consulting.com
Thu Mar 27 16:34:14 CET 2003


Nicodemus <nicodemus at globalite.com.br> writes:

> exclude(Match(C.Name, 'const')) # to get the "const" version of the function
>
> But I have no idea if this system is reliable, or how it would work exactly.
>
> Does any one have a good suggestion on this?

"Good?"  no.

I can suggest the following possibilities:

1. Intrusive: the C++ code is annotated with comments that say "this
   overload is excluded".  I hate this one.

2. exclude(A.b.overload[1])


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list