static_assert does not tell me which type is offending

Hi,

I am having the following compiler error:

static_assert(is_enum<_Tp>::value, "This hash only works for enumeration types");


However, I don't know for which _Tp it refers to, so I can't resolve the problem.

Any ideas?

Thanks,
Juan
If you use a recent version of G++, it will print many filenames/line numbers. Follow them to investigate.
What is G++? Is it available in Xcode 7.x? In OS X?

thanks
Juan
a compiler
I don't know
if you chose to use such an eccentric operating system, learn to use it.


If the error message was just that, then I suggest you to throw acid on your tools.
Topic archived. No new replies allowed.