2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 09:02:15 +00:00

Explain the #include weirdness better

[SVN r20310]
This commit is contained in:
Raoul Gough
2003-10-08 17:33:48 +00:00
parent 1dff9421dd
commit 4eb977b511

View File

@@ -169,10 +169,12 @@ namespace boost
}
}
// Including more headers here is a little weird, but it seems to fix a problem with
// the "Compaq C++ V6.5-031 for Compaq Tru64 UNIX V5.1 (Rev. 732)" compiler, which
// doesn't otherwise find our get_pointer overload during the instantiation of
// register_ptr_to_python
// Including more headers here is a little weird, but it fixes a
// problem with Compaq C++ V6.5-031 (at least) which implements
// two-phase name lookup. get_pointer is used unqualified within some
// templates used by register_ptr_to_python, so our overload needs to
// be visible during parsing of the templates, not just during their
// instantiation.
#include <boost/python/implicit.hpp>
#include <boost/python/register_ptr_to_python.hpp>