Visual Studio 2017 has had a larger number of updates throughout its lifetime. At the time of writing this article, there have been ten major updates and countless minor ones. You can check the release notes history for details. Part of the changes was in the debugger. In this article, I will mention three features…
Month: March 2019
Posted on
Putting the fun in C++
Posted on
The post-Kona mailing list of the new standards papers has been recently published (you can find it here). Going through the titles I could not help smiling because some of them are really funny. So I decided to make a top 10 of the funniest paper titles.
Slides from recent talks
Posted on
Little-known C++: operator auto
Posted on
A user-defined conversion function enables an implicit or explicit conversion between types. Such, a function has the following form (no return type and no parameters):
struct foo { operator int() const {return 42;} }; foo f; int i = f; // implicit conversion
Little-known C++: function-try-block
Posted on
Function-try-block is a mechanism in C++ to establish an exception handler around the body of a function. The following is an example:
int foo() { throw std::runtime_error("oops..."); } int main() try { foo(); return 0; } catch (...) { return -1; }