Open pulsejet opened 5 years ago
I really hoped we could be boost-free nowadays... :disappointed:
@carstene1ns BoostHash
is not boost xD. I'm using it just for consistency. This actually would make it easier if we wanted to transition that class to C++11 (you can literally replace all instances of boost::unordered_map
in boost-hash.h
with std::map
and it just works; do the same thing for unordered_set
and you no longer need to compile boost).
Yeah, I wrote BoostHash just to mimic the API of QHash, its predecessor.
@pulsejet well there is still boost::program_options which is not trivial to replace or do you have an alternative for this? :o
This is done by keeping a BoostHash of all the styles we have and their corresponding paths, and passing the style when we want to get the font.