Boost logo

Boost :

From: charlie_at_[hidden]
Date: 2001-03-16 16:24:23


I've been compiling and running examples 1 through 3 with no problem,
but I'm getting (horribly confusing template) errors with 4 and 5
(using MSVC6sp4), specifically:

getting_started4:
error C2664: 'struct boost::python::detail::return_value_select<class
std::vector<double,class std::allocator<double> > > __cdecl
boost::python::detail::return_value(class std::vector<double,class
 std::allocator<double> > (__cdecl *)(int))' : cannot convert
parameter 1 from 'class std::vector<double,class
std::allocator<double> > (__cdecl *)(const int)' to 'class
std::vector<double,class std::allocator<double> > (__cdecl *)(int)'

getting_started5:
error C2665: 'return_value' : none of the 2 overloads can convert
parameter 1 from type 'class `anonymous-namespace'::MillerIndex
(__thiscall `anonymous-namespace'::IndexingSet::*)(const unsigned
int) const'

Any suggestions?


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