are_trait test case (for Stack Overflow question)
Error(s): source_file.cpp(30): error C3855: 'are_trait<Trait_t,T,Ts...>': template parameter 'Trait_t' is incompatible with the declaration
source_file.cpp(39): error C2977: 'std::is_pointer': too many template arguments
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(344): note: see declaration of 'std::is_pointer'
source_file.cpp(47): note: see reference to class template instantiation 'are_trait<std::is_pointer,int *,void *,int (__cdecl *)(void)>' being compiled
source_file.cpp(39): error C2955: 'std::is_pointer': use of class template requires template argument list
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(344): note: see declaration of 'std::is_pointer'
source_file.cpp(48): error C2338: int*, void*, and decltype(&dummy) aren't all pointers.
|
|