[C++-sig] Re: boost::python::api

David Abrahams david.abrahams at rcn.com
Thu Jul 11 22:15:16 CEST 2002


----- Original Message -----
From: "Dave Hawkes" <daveh at cadlink.com>

> I had to keep the get_args code for those functions that can take a large
> number of templated arguments (such as print) as the args could be any
> mixture of types.

Please explain what you mean.
The arguments can be any mixture of types in getslice(), for example, and
it all works with a single template and one non-templated version.
I can see no justification for your claim.

> Specialisations provided on many templated functions.
>
> Many more functions could probably be included from the python API.
>
> Some support for python execution frames may be required when embedding
and
> directly calling functions (that's why globals() can't be called
directly).
> I will investigate this further.
>
> Other fixes and adjustments.

I'll look further once you respond to my get_arg challenge.

Thanks,
Dave






More information about the Cplusplus-sig mailing list