Posted 28 November 2012 - 02:18 AM
I don't really care whether you succeed or fail with this or any alternative solution, and you can write your code however you like, but its completely disrespectful to dismiss people who were genuinely trying to help you out of a frankly bad situation. I always try to be diplomatic about suggestions, which requires additional effort on my part, but the onus is on you to expect less-than-diplomatic replies and to extract what value there is from them. Its bad form to walk away in a huff and declare the thread posthumously useless.
Given what appear to be your fundamental misunderstandings of C++ I'm not terribly confident that you implemented the 'original' solution well, and you don't seem to be implementing your current solution well either (You are either blind to its faults, or willfully ignoring them, but do as you will). The likely difference in outcome here is that the old solution became untenable, and the new solution only has yet to become untenable.
Next time you need advice I'm certainly not going to be deciphering a pile of code while my beer is getting warm and my burger is growing cold.
Look, I thought we were having a reasonable discussion about how things might be made better, but the last comment really shows that you were just here to bitch about your fantasy language feature and looking for a slap-dash work around rather than a solution.
throw table_exception("(ノ ゜Д゜)ノ ︵ ┻━┻");