Topic: New STL Question
Author: "Steve Wallace" <Wolruf@infinet.com>
Date: 1997/10/03 Raw View
Thanks to all those that helped me work through the first STL hurdles today
and yet again i've found one more
this code
struct PDSBin
{
int num;
int sum;
};
typedef std::vector<PDSBin> Bin_Vect;
creates 18 errors wherever i create a instance of Bin_Vect like this
Bin_Vect TestVect;
the errors it give me is
Compiler Error C2784
'declaration' : could not deduce template argument for 'type' from 'type'
and its related to xutility line 45&47
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]