C++ Logo

std-discussion

Advanced search

Re: Padding bits stability

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 10 Nov 2024 20:44:07 -0800
On Sunday 10 November 2024 15:27:43 Pacific Standard Time Mykola Garkusha
wrote:
> Just want to make padding bits stable and don't change between subsequent
> value modifications so that memcmp actually works.

But you need to have a motivation for that. You need to explain why you want
to memcmp in the first place instead of using operator== or operator<=>.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-11-11 04:44:13