Is it legal to pass a non-capturing lambda as a non-type template parameter to a function? Works in clang, not in gcc
Does a function pointer need to point to a function with external linkage when used as a template parameter?