Substitution failure is not an error: Difference between revisions

Content deleted Content added
added connection words to improve readability
Correct an example with std::is_detected. decltype can be applied only to variables, and not types. Here foo::foobar is a type, so using decltype is incorrect.
Line 94:
 
template <typename T>
using has_typedef_foobar_t = decltype(typename T::foobar);
 
struct foo {