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)
C++17 can variadic template class define new type and variadic data member?
#include <iostream>
template <typename T0, typename T1>
struct Clazz {
void doSomething(const std::shared_ptr<T0>& p0,
const std::shared_ptr<T1>& p1) {...
xishvai
Votes: 0
Answers: 2
How do I restrict fold expressions with C++ 20 requirements/concepts?
How do you restrict the allowed types in variadic templates and fold expression using C++20 concepts?
For example suppose I'd like to restrict the following fold expression to only support integral ty...
Gonen I
Votes: 0
Answers: 2