Re: [C++-sig] Re: newbie questions...
--- David Abrahams <dave@boost-consulting.com> wrote:
wouldn't
template <typename T1, typename T2> void std_pair_to_python_converter() { boost::python::to_python_converter< std::pair<T1, T2>, std_pair_to_tuple<T1, T2> >(); }
be so much simpler?
This is not supported by some older compilers, e.g. gcc 2.96 and possibly older EDG's. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
"Ralf W. Grosse-Kunstleve" <rwgk@yahoo.com> writes:
--- David Abrahams <dave@boost-consulting.com> wrote:
wouldn't
template <typename T1, typename T2> void std_pair_to_python_converter() { boost::python::to_python_converter< std::pair<T1, T2>, std_pair_to_tuple<T1, T2> >(); }
be so much simpler?
This is not supported by some older compilers, e.g. gcc 2.96 and possibly older EDG's.
yeesh. :( -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams -
Ralf W. Grosse-Kunstleve