[C++-sig] new call policy - return_range
Hans Meine
meine at informatik.uni-hamburg.de
Tue Feb 20 12:59:49 CET 2007
Hi!
Am Dienstag, 20. Februar 2007 12:16 schrieb Roman Yakovenko:
> Class return_range is a model of CallPolicies, which can be used to
> wrap C++ functions that return a pointer to some array. The new call
> policy constructs object, which provides a regular Python sequence
> interface.
Interesting. (Why) Is the second template parameter (TValueType) necessary?
Are there cases where it is != the dereferenced pointer type?
Greetings,
Hans
More information about the Cplusplus-sig
mailing list