|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-11-30 10:43:48
I've been trying to use the get_pointer facility used by mem_fn
et. al in Boost.Python, and am finding several things:
1. Getting it to work portably is nontrivial
2. Users need compiler-specific instructions about how to:
a. provide their own get_pointer
b. invoke get_pointer in generic code
3. Borland's config probably ought to have
BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP defined.
The enclosed seems to demonstrate all the issues. Comments?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk