-
Notifications
You must be signed in to change notification settings - Fork 803
Broken Type Trait Detecting Minimal Specializations #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Bug is with template <class T> struct A {};
template <class T> int hello( A<T> ) {}
decltype( hello( cereal::traits::detail::AnyConvert() ) ) x; // fails |
Actually it's probably a bug with The test that fails is the one for |
Yeah, the |
This will take a while to fix so I'll push it to the next release and note that it is a known issue in the release notes. |
I tried to specialize the
system_clock
serialization:An the following trait hits:
Which is a false positive. If I comment out that everything compiles fine.
It's something in:
If I add the following, it works fine:
gcc 4.9.1
The text was updated successfully, but these errors were encountered: