Partial template function specification in C++ works, but why?

前端 未结 1 800
有刺的猬
有刺的猬 2020-12-30 04:42

I\'m trying to find out whether partial specification of templated functions is part of the C++ standard, or whether this is something compiler specific.

By partial

相关标签:
1条回答
  • 2020-12-30 05:02

    Paragraph 14.8.1.2 of the C++03 standard states

    "Trailing template arguments that can be deduced (14.8.2) may be omitted from the list of explicit template-arguments."

    0 讨论(0)
提交回复
热议问题