Re: Registries [2]
David Abrahams <[email protected]>
| Newsgroups | gmane.comp.lib.boost.langbinding |
|---|---|
| Message-ID | <[email protected]> |
Daniel Wallin <[email protected]> writes: > At 00:25 2003-07-31, David Abrahams wrote: > >>This seems to me to be the killer argument against having any implicit >>imports of from-xxx converters. No? > > Well, yeah.. Unfortunately the same argument applies to the > cast-graph too. :( > On which platforms do you need to compare type_info::name() instead > of type_info's? I'm not sure why that's relevant, but see boost/python/type_id.hpp. // for this compiler at least, cross-shared-library type_info // comparisons don't work, so use typeid(x).name() instead. It's not // yet clear what the best default strategy is. # if (defined(__GNUC__) && __GNUC__ >= 3) \ || defined(_AIX) \ || ( defined(__sgi) && defined(__host_mips)) # define BOOST_PYTHON_TYPE_ID_NAME # endif -- Dave Abrahams Boost Consulting www.boost-consulting.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01