boostorg / boostorg/regex

Undocumented public constructor in sub_match.

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
119
Forks
113
PR merge metrics
No merged PRs in 30d

Description

boost::sub_match has undocumented public non-explicit constructor.
https://github.com/boostorg/regex/blob/d961318aa24a349073cbfc7275201482a19cd3f5/include/boost/regex/v4/sub_match.hpp#L51

So sub_match can convert from BidiIterator.
```
boost::csub_match m = "abc";
```
Is this expected conversion?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.