[C++-sig] implicit imports?

David Abrahams david.abrahams at rcn.com
Wed Jun 12 01:14:46 CEST 2002


From: "Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com>


> --- David Abrahams <david.abrahams at rcn.com> wrote:
> > You can have the dependent modules load the std_vector module from
their
> > init functions.
>
> Checked with Linux/gcc and found to be true. Cool!
> (V1 does not support this, right?)

Sure; you're not using any special Boost.Python facilities, are you?

> Quick experiment:
>
>   ext1 -> imports ext2
>   ext2 -> imports ext1
>
> Under Linux Python resolves this gracefully. Haven't tried other OS's
yet.

I don't see why it wouldn't work everywhere.

-Dave






More information about the Cplusplus-sig mailing list