"Elaborated type refers to a typedef" build failure(s)
clang 4.0.1
The following code is rejected by clang while accepted by g++
#include <string>
template<typename T> T foo(T s)
{
class T::iterator b=s.begin(), e=s.end(), p=b;
}
void foo(char *a)
{
foo<std::string>(a);
}
No error detect for version 4.0.1
0 errors