dice-group / dice-hash

https://dice-group.github.io/dice-hash/
GNU Affero General Public License v3.0
2 stars 1 forks source link

user-defined types cannot be used in collections #10

Closed bigerl closed 3 years ago

bigerl commented 3 years ago

see https://github.com/dice-group/rdf-parser/blob/partial_grammer_parsing/include/Dice/RDF/Triple.hpp#L28

LukasKerk commented 3 years ago

It is a bug in the calling code. dice_hash must be a template specialisation (defined/declared with template<>). An example was added to the tests. It can be found on #11.