And a second one!
C++17 If statement with initializer
by Steve Lorimer
From the article:
Introduced under proposal P00305r0, If statement with initializer give us the ability to initialize a variable within an
if
statement, and then, once initialized, perform the actual conditional check.
Add a Comment
Comments are closed.