[C++-sig] template function
David Abrahams
dave at boost-consulting.com
Wed Aug 29 18:17:45 CEST 2007
on Wed Aug 29 2007, "Luca Sbardella" <luca.sbardella-AT-gmail.com> wrote:
> .def("list", &container::tolist< boost::python::list > )
^
container is a dependent type, so ^
you are missing the 'template' keyword----------------^ here.
.def("list", &container::template tolist< boost::python::list > )
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com
More information about the Cplusplus-sig
mailing list