This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000:006f JessTechColourRumblePad | |
0001:0329 Sl6566 | |
0005:05ac Mocute | |
0010:0082 AkishopCustomsPs360Plus | |
0078:0006 MicrontekUsbJoystick | |
0079:0006 PcTwinShock | |
0079:0011 DragonRiseGamepad | |
0079:1800 MayflashWiiUProAdapter | |
0079:181a VenomLimitedArcadeJoystick | |
0079:181b VenomArcadeJoystick |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <functional> | |
#include <tuple> | |
#include <type_traits> | |
// Actually, a subtle bug may arise when the function is using index_constant as parameter. | |
// For this reason, a more correct implementation should define a specialized class, hidden in a namespace, | |
// and forbid the use in other places. | |
// An easier, more correct, but more verbose way would be to just define two different classes for the argument list | |
// and the bounded arguments, to avoid the confusion with the index_constant bracket operator overload. |