The minimal example is rather short: #include <iostream> #include <array> #include <type_traits> struct Foo{ //template
Is the following code legal C++11? #include <type_traits> template<typename T> typename std::enable_if<T::Data() == nullptr>::type test (T t