allow tokenizing string_view to string_view(s)
Open
- Dominant language
- C++
- Stars
- 30
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
This requires getting around the dependency on std::string's assign function. I added the following specialization to assign_or_plus_equal to get it working but it could probably be done better.
```
template
static void assign(Iterator b, Iterator e, std::basic_string_view& t)
{
t = { std::addressof(*b), static_cast(std::distance(b, e)) };
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.