L
Leo \Equinox\ Gaspard
As you are going to make this algorithm templatized (otherwise you wouldn't say that you want it to work with any type), you could use is_fundamental, from C++11 or Boost, with enable_if.
And, as a rationale, I do only see side effects.
And, as a rationale, I do only see side effects.