[C++-sig] Problem with identifying polymorphic types on Mac OS (original) (raw)

J. Michael Owen mikeowen at llnl.gov
Thu Dec 15 20:28:58 CET 2005


Indeed, this fixes my problem very nicely without having to modify the
C++ code. Thank you very much Dave!

Mike.

namespace boost { template <class T, class U> struct ispolymorphic<std::pair<T,U> > : mpl::false {}; }

Is probably the cleanest workaround. HTH, -- Dave Abrahams Boost Consulting www.boost-consulting.com

"Hey...where are the sunflower seeds?" | J. Michael Owen o_o / | (") | /'/ | ((,,)_________________________________________________________


-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 868 bytes Desc: not available URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20051215/65dffdb9/attachment.bin>



More information about the Cplusplus-sig mailing list