bind2nd doesnt accept methods using pass-by-ref?
Thomas Holenstein
thomas@hex.ch
Wed Jun 21 07:28:00 GMT 2000
Rob Willis writes:
>
> Still learning the ins and outs of STL. I hit the following case, where
> bind2nd can not take accept methods that use pass-by-reference.
I think you have the 'reference to reference' problem. For a 'fix' of
this see www.boost.org and look at the 'functional' library. (It
should be available in a few days, otherwise subscribe as a member and
look in the files section)
Thomas
More information about the Libstdc++
mailing list