missing template specifier (clang error)