, 16 2021 . 14:34
+
Qraizer:
FasterHarder @ ( , , ): , . , , ...
, . ... , . , . "" : , . .
FasterHarder @ , , , ( )?)
. ? , , - . , .
const TypeInfo (&get()const)[Length::value];
, . ? Length<> , , . , .
ret_type (MD::*accepts[Length::value])(param_type);
MD, param_type ret_type. . ?
constexpr HierarchyDeep = Length::value;
typedef ret_type (MD::*MethodsPtr)(param_type);
MethodsPtr accepts[HierarchyDeep];
? . , . , .. , . , , . , , , , , , , -, , , .
,
FasterHarder, , . , . , , . , . .
, . .
https://forum.sources.ru/index.php?showtopic=421520&view=findpost&p=3848218
:
C/C++: