Subscribe
-
Recent Posts
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
Categories
Monthly Archives: October 2011
Value-initialization with Boost
One of the fundamental concepts in STL is RegularType. This is more-less what containers expect of their elements: default construction, destruction, copy-ability (copy constructor and copy assignment), movability (move constructor and move assignment), equality (operator==), ordering (operator<). C++ does a … Continue reading
Parsing floats
I was recently forced to revise the way I parse floating-point numbers from GUI forms. I made two observations on the subject that I would like to share with you. For instance, do you know why the conversion from string … Continue reading
Using std::terminate
In this article we are going to see what happens when your program calls std::terminate. If you think it simply terminates the program, you may find it interesting that it is not always so, and the function may be used … Continue reading
