Namespaces
Variants
Views
Actions

Talk:cpp/types/is scoped enum

From cppreference.com

[edit] Unnamed namespace in Possible implementation

I'm not entirely sure, but shouldn't the code under 'Possible implementation' work fine without the unnamed namespace? The only definition I see is that of "is_scoped_enum_impl", but multiple definitions of a variable template should not cause a ODR violation.

Looks unnecessary to me too --Ybab321 (talk) 06:47, 27 March 2022 (PDT)