The only C++ was for handling discovering and iterating over the partitions PER block device, this was implemented in a really overcomplicated way. Simplify things, port everything over to c11 and drop the libstdc++ requirement entirely.