Is it possible to define both const and regular version of the function with a single definition? (using templates, auto, decltype, etc)
6559
How do I remove code duplication between similar const and non-const member functions?
134755
Why do compilers allow string literals not to be const?
27730
C++ syntax for explicit specialization of a template function in a template class?
28983
Why does a function with no parameters (compared to the actual function definition) compile?
22950
C++ vs. C++/CLI: Const qualification of virtual function parameters
3065
Use of 'const' for function parameters
42061
Identifying primitive types in templates
103650
How to set return type of `InterpolatingFunction ` in compile
118234
How to Combine Pattern Constraints and Default Values for Function Arguments?
142119
Reason for using non-type template parameter instead of regular parameter?
129766
decltype in class method declaration: error when used before "referenced" member is declared
130160
Is there a template in C++11 to deduce the optimal type to use when passing a value to a function?
156291
Can I use const in vectors to allow adding elements, but not modifications to the already added?
82558
Why function template cannot be partially specialized?
2521
Storing C++ template function definitions in a .CPP file
134085
C++ single template specialisation with multiple template parameters
152255
Const correctness for value parameters