3 ms·
I'm not a C++ expert but can you solve this using something more like the functional approach in C++, by defining a templated function and then specializing it
by lincolnq 10y ago
I'm not a C++ expert but can you solve this using something more like the functional approach in C++, by defining a templated function and then specializing it in the extension modules for the various classes? (I guess the specialized declarations would need to be #included somehow, but that's not too big of a hurdle.)
- eliben 10y agoI'm having a hard time deciphering your idea - do you have a minimal snippet/gist to show what you mean?