Merge pull request #132 from eregon/fix_clang_warning_tautological

Ignore an incorrect warning from Clang
Fix the Clang warning by a better approach: use template specialization

* A bit duplication of trivial code
  but this give us a cleaner compile-time check.