You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I do understand while the former fails and the latter doesn't. I do find this suprising behavior. Specially, considering the errors produced by the failing example.
The text was updated successfully, but these errors were encountered:
Ahaaa! Found it, the problem arises when the nested map is not the first element of the outer map. The problem seems to be related to how map_impl works via recursive inheritance in combination with some broken SFINAE. Here is a failing example that should clearly not fail...
Hi!
I found surprising behavior with
boost::fusion::map
.Given the following set of types:
The following example fails to compile:
This can be fixed by doing:
While I do understand while the former fails and the latter doesn't. I do find this suprising behavior. Specially, considering the errors produced by the failing example.
The text was updated successfully, but these errors were encountered: