18 Concepts library [concepts]

18.4 Language-related concepts [concepts.lang]

18.4.2 Concept same_as [concept.same]

template<class T, class U> concept same-as-impl = is_same_v<T, U>; / exposition only template<class T, class U> concept same_as = same-as-impl<T, U> && same-as-impl<U, T>;
[Note 1: 
same_as<T, U> subsumes same_as<U, T> and vice versa.
— end note]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant