python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
c++ completely generic event dispatcher
I try again to explain better again what I would achieve.
I would like make a thing like this (inspired to Unity's UnityEvent):
Public "variables" declared in some classes:
GameEvent<>...
ProtoTyPus
Votes: 0
Answers: 1
Template specialization and selection in variadic template class
I've a variadic templated class with some template specializations. I would like, for some specialization, to enable them conditionally (with std::enable_if, so I added a additional unused template pa...
Vincent
Votes: 0
Answers: 1
C3520 parameter pack must be expanded - incorrect behaviour for 'variadic using'
While compiling the code below with Qt 5.12 using Microsoft Visual C++ Compiler 15.9.28307.1300 (amd64) and c++17 standard I get the following error:
error C3520: 'Args': parameter pack must be expan...
Meliodas
Votes: 0
Answers: 1
C++ 17 Expand a Fold Expression (as pairs of values)
I am writing some code to experiment with fold expressions.
I don't think my approach to solving this problem is the best possible approach.
I am trying to write a function which "does something&...
FreelanceConsultant
Votes: 0
Answers: 3