python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
String name of template function
I know you can use the preprocessor to get the textual name of a standard function at compile time via __func__
My question is, is there any way to get the textual name of a template function includin...
Patrick Wright
Votes: 0
Answers: 1
Generalize integral template parameters
Is there a way to generalize an integral template parameter so that it supports e.g. int and std::size_t. Here is non-compiling example of what I have in mind. Is there a way to implement the function...

jens
Votes: 0
Answers: 2
C++11 Template Method to Stream std::map to std::cout
Objective: Implement a template method that generically allows streaming std::map instances to std::cout
Problem: I'm getting undefined behavior, where my code executes without errors and other times ...

Tony A
Votes: 0
Answers: 1
The best way to implement cloneable c++ classes?
I have seen solutions (including in this site) to the problem of having to implement a clone method in a class, so it returns a heap-allocated clone of itself even if we only have the Baseclass.
The p...
Jonnas Kaf
Votes: 0
Answers: 2