<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="color: rgb(33, 33, 33); font-size: 12pt;">> Maybe just add the warn_unused_result attribute?</span><br>
</p>
<div style="color: rgb(33, 33, 33);">
<div><br>
<div class="gmail_quote">Not sure how this helps. Ac<span style="font-size: 12pt;">tually main point is that such change allows to make match() as const,</span></div>
<div class="gmail_quote">that helps for example if we have a std::vector of them and want to pass it as ArrayRef.<br>
<span style="font-size: 12pt;"></span>
<div style="color: rgb(33, 33, 33);">
<div><br>
</div>
<div>And it is also cleanup itself as there is no point for match() to set object state to error.<br>
</div>
<div><br>
</div>
<div>George.<br>
</div>
</div>
<br>
</div>
</div>
</div>
</body>
</html>