The mechanism you're describing would bog everything down. I've designed the extension system to ameliorate that effect, but it's presently out of commission due to virtual cast issues. When the new compiler is in, those should be fixed, and you will be able to use the extension system for that. Though, it will need extended; right now, it is an all-or-nothing system. There's no mechanism to allow objects to specify which extensions they use, but I must say, I like the idea of allowing for one, and I could implement a much better system in ENIGMA than std::bad_cast.
|