Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::cmatch indices
From: Eric Niebler (eniebler_at_[hidden])
Date: 2013-04-19 16:25:21


On 13-04-18 05:42 AM, Rob.Conde_at_[hidden] wrote:
> Is there a reason why boost::cmatch.size() returns size_type, but boost::cmatch operator[] takes int?

Looks like a bug to me. std::match_results::operator[] takes size_type,
and boost::match_results should follow suit. I suggest filing the bug.

-- 
Eric Niebler
Boost.org

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net