Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clangだと警告が出ること、またClangのバグであることを追記しました。 以下の根拠(N3337 C++11)よりClangのバグだと判断しました。 § 8.3.5 p6 The effect of a cv-qualifier-seq in a function declarator is not the same as adding cv-qualification on top of the function type. In the latter case, the cv-qualifiers are ignored. §20.9.4.1 p2 For any given type T, the result of applying one of these templates to T and to cv-qualified T shall yield the same result.
- Loading branch information