Closed alt-graph closed 2 days ago
:+1:
Both string
and string_view
should meet the requirement. And const char*
is convertible, so how did you notice this requirement?
👍
Both
string
andstring_view
should meet the requirement. Andconst char*
is convertible, so how did you notice this requirement?
In Taskolib we have a Tag
class that is basically a string, but did not provide size()
. And we wanted to turn a vector<Tag>
into a string with gul14::join(tags, " ")
...
We documented that the string type must provide an
operator+=(string&, T)
, but forgot that it must also provide asize()
member. This PR adds that documentation.