Skip to content

util/hash_table: add DERIVE macro

Alyssa Rosenzweig requested to merge alyssa/mesa:util/ht-derive into main

we typically use a hash table with a fixed struct key, but this requires tedious boilerplate. add a macro that generates all the boilerplate for you so you can just create a table and go.

naming inspired by Rust #![derive].

Merge request reports