a non-type template parameter cannot have type [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 8 months ago . Improve this question For anyone stumbling upon this question in the future, the original question was: "How to get the simplest example (Point) from this article to compile with GCC or CLANG ?" Edit 1 shows the smallest possible code that fails with CLANG but compiles with GCC (both with -std=c+