Merge topic 'string-conversions'

bf8528ae51 Source: Reduce reallocations
70b35324ec Source: Reduce `const char*` to `std::string` conversions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11800