From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 586A8445320 for ; Mon, 6 Jul 2020 00:19:32 +0300 (MSK) From: "Timur Safin" References: <20200703144526.522358-1-gorcunov@gmail.com> <20200704073038.GK2256@grain> In-Reply-To: <20200704073038.GK2256@grain> Date: Mon, 6 Jul 2020 00:19:30 +0300 Message-ID: <0d0901d65311$f8c7a030$ea56e090$@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Language: ru Subject: Re: [Tarantool-patches] [PATCH 00/22] Use void type in empty arguments list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Cyrill Gorcunov' , 'Vladislav Shpilevoy' Cc: 'tml' , 'Alexander Turenko' : From: Cyrill Gorcunov : Subject: Re: [Tarantool-patches] [PATCH 00/22] Use void type in empty : arguments list :=20 ... :=20 : > : > Talking of the patch - why did you change .cc files? AFAIK, in C++ : > (void) and () are the same. Just no arguments. :=20 : 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 =C2=AF\_(=E3=83=84)_/=C2=AF =D0=95=D1=88=D1=8C=D0=B3=D0=BA