Is it possible to determine whether an object is of a class type or not using a trait through a n...
Is it possible to determine whether an object is of a class type or not using a trait through a non-type template parameter in C++20?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/23200328/nokz)nokz
(stackoverflow.com/users/5740428/jan-schultke)Jan Schultke
A special thanks goes out to the (https://stackoverflow.com/questions/77768531/is-it-possible-to-determine-whether-an-object-is-of-a-class-type-or-not-using-a)Stackexchange community
I wish you all a wonderful day! Stay safe :)
c++ non-type-template-parameter language-lawyer c++20 compiler-bug