cpp/experimental/basic string view/copy

Copies the substring to the character string pointed to by, where  is the smaller of  and.

Return value
Number of characters copied

Exceptions
std if.

Complexity
Linear in.