Namespaces
Variants
Actions

Talk:cpp/types/is same

From cppreference.com

Hi all,

It would be good to clarify and indicate in the description that

is_same<T, U>::value == is_same<U, T>::value

in all cases - AFAI understand.

Especially since C++20 Same<T, U> concept is defined as is_same<T, U>::value , so the associativity of is_same<> implies associativity for Same<>, too...

What do you think ?

--LeslieN (talk) 07:47, 3 July 2018 (PDT)

I have added it. LittleFlower (talk) 16:12, 7 February 2019 (PST)

[edit] add reference to the same_as concept

Hi! I think it would be good to add same_as<> to the See Also section. What do you think?

Absolutely --Ybab321 (talk) 13:24, 18 March 2021 (PDT)