I am trying to refactor this class https://github.com/grastvei007/tagsystem/blob/develop/tag.h
And are now in the process of changing the qvariant on line 95 to std::variant. Since the qvariant seems not so good when using list, it returns a copy of the list with a call .toList().
Since the enums I have for the different data types are used across the applications then it make sense to be able to forward this into the std::variant, and it probably make more sense for string than int and double.
The whole class should probably been a template, and construct a new Tag like this Tag<Double> tag;