C++ Logo

std-proposals

Advanced search

Re: [std-proposals] __COUNTER__

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 22 Aug 2024 08:29:30 -0700
On Thursday 22 August 2024 08:22:36 GMT-7 René Ferdinand Rivera Morell via
Std-Proposals wrote:
> Given that.. It would be more useful to standardize some form of
> __UUID__ that matches the current __COUNTER__ use cases.

Why would it be? Wouldn't it need to guarantee it doesn't return a duplicate?
In which case, the UUID implementation will probably be based on a counter.

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

Received on 2024-08-22 15:29:34