[Tarantool-patches] [PATCH 00/22] Use void type in empty arguments list

Cyrill Gorcunov gorcunov at gmail.com
Mon Jul 6 00:37:22 MSK 2020


On Mon, Jul 06, 2020 at 12:19:30AM +0300, Timur Safin wrote:
> : 
> : >
> : > 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
> 

IIRC we've been planning to switch to C eventually.


More information about the Tarantool-patches mailing list