C++ Comma Operator

2. Nice usages

In this article I will explain some nice real world usages for the comma operator.

C++ Comma Operator

1. Introduction to our filthy friend

Comma operator has been with us for a long time. First seen in C spec and improved with custom overloads in C++, it quickly became one of those hidden things you shouldn’t use.