
20 Nov
2008
20 Nov
'08
3:43 p.m.
AMDG Thorsten Ottosen wrote:
I can't compile
std::vector<double> v = static_cast<std::vector<double>>(42);
what am I overlooking?
I don't know. The following compiles for me with msvc 9.0 and gcc 4.3.0 #include <vector> int main() { std::vector<double> v = static_cast<std::vector<double> >(42); } In Christ, Steven Watanabe