Boost logo

Boost :

From: Vérane Chanson (verane.chanson_at_[hidden])
Date: 2004-01-07 08:24:22


Hi all,

 

I try to wrap the following class std ::vector<std ::string> with the
following code :

 

            typedef std::vector<std::string> VectorString;

 

            class_<VectorString>("std_vector_string")

            .def("front", &VectorString::front)

             ;

 

I get this error : error C2914: 'def' : cannot deduce template argument
as function argument is ambiguous

 

Does anyone know why ?

 

Thanks.

 



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk