cbeck88/visit_struct

Implement binary visitation

cbeck88 opened this issue · 2 comments

This was mentioned on reddit as a potentially very useful feature, as you could use it to implement equality and comparison operators.

This was implemented in this commit: 5444d94

It is still a TODO item to figure out how to do it for fusion, I only figured it out in the compatibility header for hana at the moment. (And even there it's not quite perfect)

hana binary visitation is now working like it is supposed to, since this commit: c98cb37

It remains to do boost::fusion binary visitation, but it looks like some significant rewrite will be necessary to get it to work there in a sane way. I've decided I won't do this unless someone asks for it.