Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » Template problem
Re: Template problem [message #14249 is a reply to message #14248] |
Wed, 20 February 2008 23:13 |
bytefield
Messages: 210 Registered: December 2007
|
Experienced Member |
|
|
Strange...
In Windows with MVC 2005 EE it compiles well and work as expected if i comment out the second redefinition of [] operator. On linux(and Windows with mingw(g++)) still get errors about catch.
vec.cpp: In function ‘int main()’:
vec.cpp:35: error: expected type-specifier before ‘out_of_range’
vec.cpp:35: error: ‘...’ handler must be the last handler for its try block
cdabbd745f1234c2751ee1f932d1dd75
|
|
|
Goto Forum:
Current Time: Fri Apr 26 01:16:21 CEST 2024
Total time taken to generate the page: 0.04301 seconds
|