Specialized template function with deleted “general” case fails to compile with g++
I don’t know if the following will be enlightening but I found defect report 941: Explicit specialization of deleted function template with status C++11 that states the following (Emphasis Mine): According to 14.7.3 [temp.expl.spec] paragraph 1, only non-deleted function templates may be explicitly specialized. There doesn’t appear to be a compelling need for this restriction, … Read more