Substitution failure is not an error: Difference between revisions

Content deleted Content added
Line 89:
 
With the standardisation of the detection idiom and void_t in C++17, the above code can be re-written as follows:
<source lang="cpp">
#include <iostream>
#include <type_traits>