State key char instead of string
Why are we using std::string
as key for VectorComposite
, and the unordered_map
in HasStateBlocks
if a single character is allowed?
- It is dangerous since, this is not forced/checked anywhere (I used 2 characters for
StateBlocks
of a capture and the code didn't complain) - There are useless conversions from char to string in the code.
Is there a reason to do so?