In C++ 11 Is there any way to branch by if a function parameter is compile-time constant or not?
In C++ 11 Is there any way to branch by if a function parameter is compile-time constant or not?
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/16687283/lighthouse)lighthouse
(stackoverflow.com/users/567292/ecatmur)ecatmur
(stackoverflow.com/users/19642884/henrique-bucher)Henrique Bucher
A special thanks goes out to the (https://stackoverflow.com/questions/76672976/in-c-11-is-there-any-way-to-branch-by-if-a-function-parameter-is-compile-time)Stackexchange community
I wish you all a wonderful day! Stay safe :)
templates c++11 c++ compile-time-constant