Just a small fix - I think the correct fix is void operator()(nostd::string_view &&arg) (i.e. without const), at least if it was intended to overload the forwarding reference function above . Might also need void operator()(const nostd::string_view &arg) if both variants should be covered.
Just a small fix - I think the correct fix is
void operator()(nostd::string_view &&arg)
(i.e. without const), at least if it was intended to overload the forwarding reference function above . Might also needvoid operator()(const nostd::string_view &arg)
if both variants should be covered.