By Sarath, on April 13th, 2010%
Tweet
Those who dealt with template classes and template of template classes may have faced compilation error due to right angle bracket ( >> ) even the syntax appeared to be correct.
For e.g if we take the following code snippet
// This is not valid syntax in standard C++.
std::vector<std::vector<int>> incorrect;
// Adding whitespace between the brackets yields the correct . . . → Read More: Visual Studio 2010 – Right Angle bracket implementation (C++ 0x)
By Sarath, on April 10th, 2010%
Tweet
Every programmer must know about assert. Those who don’t know assert (or similar) mechanism, they’re not a real programmers it’s one of the most important helper for debugging. The assert library is designed to work in run time. The expression will be evaluated on program execution and test for sanity. If the express return . . . → Read More: C++ 0x: Visual Studio 2010 – Static assert (static_assert)