Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nikbackm
on Sept 16, 2014
|
parent
|
context
|
favorite
| on:
The Road to Rust 1.0
Seems like this was fixed in C++14 by adding a std::string&& overload.
http://en.cppreference.com/w/cpp/regex/regex_match
dbaupp
on Sept 16, 2014
[–]
The underlying problem is still there, fixing a few of the worst cases in the standard library is helpful but only up to a point. (E.g. anyone with a custom function that does something in a similar vein needs to remember to do the same.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
http://en.cppreference.com/w/cpp/regex/regex_match