I have a stylistic problem with if statements (especially nested if's). What I want to do is use something that resembles the switch statement but make that a template that works with an overloaded type (such as an object overloaded with == operator). I thought about making a new namespace so I would be able to use the curly braces ({}) but that doesn't seem fluid enough. Any idea's would greatly be appreciated.