T O P I C R E V I E W |
diehard2 |
Posted - Mar 22 2010 : 2:18:35 PM Hello, the default try catch snippet is
try { } catch (CMemoryException* e) { } catch (CFileException* e) { } catch (CException* e) { } It seems that this is a highly specific usage for (possibly?) MFC programmers. It would be far more useful to the average C++ programmer to have
try {
} catch (const std::exception& ex) {
} where the cursor would be placed over the std::exception |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Mar 23 2010 : 3:27:22 PM You can easily edit the VA Snippet for try / catch. The default snippets are just there to get people started and give them ideas. Clearly they cannot be perfect for every person in every situation.
http://www.wholetomato.com/products/features/vasnippets.asp |