Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support Boost.MP11 when feasible #66
Jan 16, 2019
I'm still looking for a workaround. I'm currently stumped at conceptually being unable to do:
The key problem lies in inheritance, of course, so it'll take me a while to find a way to not rely on it.
If you have
It does, so you'll need to inherit
This is similar to how
except it's more complex than we need here because it needs to generate an index sequence, whereas we already have the list of keyed bases, so we can just inherit from it directly.
Thanks for your suggestions, @pdimov. I'll be using them for a different library I've been working on.
For PR #70, I didn't want to lose the ability to use the bracket operator to index by key and retrieve the corresponding argument, so I figured out a way for
I'd be grateful if you could review the new PR to ensure that I'm using MP11 properly this time, at least.