有谁知道,在C ++ 11中,函数模板是否可以部分专用?
No, they can't. The draft C++0x standard has a section (14.5.5) on class template partial specialisations, but no mention of function template partial specialisations.
No ; they were proposed as core language issue #229 (from n1295 ) but ultimately rejected (and quite rightly so, since overloading does the job).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.