C++ Logo

SG7

Advanced search

Subject: Re: [isocpp-core] Most highly recommended reading in the most recent mailing: P2237R0, Metaprogramming
From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-10-29 06:19:18


> 2. Is meta::info intended to be equality comparable, and if so, with what
> semantics? Is it just a void* comparison? F.ex. after
>
> using int32 = int;
>
> is reflexpr(int32) == reflexpr(int) true or false?

For those interested, the answer here is "true", according to P1240 (section
"Equality and equivalence") - yes, equality exists and looks through
aliases.


SG7 list run by sg7-owner@lists.isocpp.org

Older Archives on Google Groups