fix c++ template to adopt to clang