[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] odd/rules_of_n 4eab8b4a 1/5: Follow the Rule of
From: |
Greg Chicares |
Subject: |
Re: [lmi] [lmi-commits] odd/rules_of_n 4eab8b4a 1/5: Follow the Rule of Zero |
Date: |
Sun, 10 Jul 2022 17:06:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
On 7/10/22 12:08, Vadim Zeitlin wrote:
> On Sat, 9 Jul 2022 18:31:23 -0400 (EDT) Greg Chicares
> <gchicares@sbcglobal.net> wrote:
[...]
> GC> class statistics
> GC> {
> GC> public:
> GC> - statistics() = default;
> GC> - ~statistics() = default;
> GC> -
> GC> statistics& operator+=(statistics const&);
> GC>
> GC> static statistics analyze_file(file const&);
>
> I'd rather keep the explicitly defaulted default ctor, this shouldn't
> result in any warnings and having it seems more clear to me.
Agreed. Amended accordingly.