[Tarantool-patches] [PATCH 00/22] Use void type in empty arguments list
Timur Safin
tsafin at tarantool.org
Mon Jul 6 00:19:30 MSK 2020
: From: Cyrill Gorcunov
: Subject: Re: [Tarantool-patches] [PATCH 00/22] Use void type in empty
: arguments list
:
...
:
: >
: > Talking of the patch - why did you change .cc files? AFAIK, in C++
: > (void) and () are the same. Just no arguments.
:
: True, still we've a mess between () and (void) in cc files, so
: I unified the approach.
FWIW it's considered bad style to use (void) in C++ instead of ()
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#nl25-dont-use-void-as-an-argument-type
¯\_(ツ)_/¯
Ешьгк
More information about the Tarantool-patches
mailing list