-
Notifications
You must be signed in to change notification settings - Fork 11
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
Make it possible to share maps between both directions #21
Conversation
628e773
to
0049108
Compare
7be3f9d
to
8b7cbd9
Compare
e721e6f
to
ec93a42
Compare
e44e616
to
c77ea50
Compare
@andresailer @jmcarcell This is in principle ready for review. The diff looks huge, but most of that is d5ae846 and e916827 that shuffle quite a bit of code around. I keep it as WIP for now until I have also implemented the corresponding changes on the k4MarlinWrapper side, but I don't expect many changes here any longer. |
17f2ab2
to
10bde59
Compare
The changes in the names of the maps in 49dccf2 makes this a breaking change for k4MarlinWrapper I am not sure if it is worth to try and make this a slightly smoother transition, or whether we just bit the bullet. |
0945324
to
d4b4d15
Compare
Preparation for more general mappnig structure
- Add generic mapInsert method - Make all functions that take a map templated on the map(s) - Make sure type deduction works for vector backed maps and actual maps - Default template map parameter such that shared library is built with that and can be easily linked against It is now possible to simply swap out the TypeMapT alias to switch to a vector backed map
- Make conversion functions templated on map - Default map to what was there before to make it usable as a shared library
Necessary to build hierarchies that might span several collections
d4b4d15
to
ec2f31f
Compare
BEGINRELEASENOTES
vector<tuple<K, V>>
or a propermap<K, V>
).ENDRELEASENOTES
map<K, V>
,unordered_map<K, V>
,vector<tuple<K, V>>
, ...