[Boost-users] Refactoring template functions. Needing help with compile time if statements.