[C++-sig] boost.python iterators

Dirk Steenpass steenpaz at sdf-eu.org
Thu Aug 18 14:10:54 CEST 2005

> The following snippet illustrates that return_internal_reference can be
> used for a simple user defined type but not for the fundamental int.

Probably, because it makes no sense to return an immutable object by
reference... (fool, indeed ;-).

cheers, dirk

More information about the Cplusplus-sig mailing list