python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Why is this partial specialization not more specialized?
Why is the second version of the class not more specialized than the first? Can't the first version be further specialized with more classes than the second?
Is there an obvious way to make the second...
user41010
Votes: 0
Answers: 0
How to partially specialize a template by STL iterator template?
I want to specialize a template by STL iterator template like:
#include <list>
struct Tag0 {};
struct Tag1 {};
template<typename T>
struct get_tag {
using tag = Tag0;
};
//Wanted by...
user3059627
Votes: 0
Answers: 0
C++ variadic function template with multiple typelists
Compiler Explorer Demonstration shows what I have found that works as well as a commented out section showing what I want, but that doesn't work.
I am new to C++ and I am trying to write a sqlite3 int...
zero_dev
Votes: 0
Answers: 2
Partial deduction of template parameter using constructor
I have seen this asked before in several ways, and all the solutions are always the same: use a helper function or even use nested classes. For me, both of those solutions look clumpsy. So I wonder ho...
Pablo
Votes: 0
Answers: 1