What is the idiomatic way to have a member function of a template class with a declaration valid ...
What is the idiomatic way to have a member function of a template class with a declaration valid only if the template argument satisfies some concept?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/1021959/bernard)Bernard
(stackoverflow.com/users/962089/chris)chris
(stackoverflow.com/users/2684539/jarod42)Jarod42
A special thanks goes out to the (stackoverflow.com/questions/79149955/what-is-the-idiomatic-way-to-have-a-member-function-of-a-template-class-with-a-d)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
requires-clause c++-concepts c++23 c++20 c++