29 Nov
2020
29 Nov
'20
5:21 p.m.
Jeff Garland wrote:
The answer here is to take a string_view that is constructible from all StringLike types, including std::string_view and boost::string_view.
Sure, but that type is going to need to account for c++17 versus earlier versions.
For this specific use, it doesn't need to. It can just match against a StringLike concept, as I said.