Subject: [Boost-bugs] [Boost C++ Libraries] #4215: match_results docs incorrectly refer to returning strings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-14 11:31:47
#4215: match_results docs incorrectly refer to returning strings
--------------------------------------------------------+-------------------
Reporter: Jonathan Wakely <jwakely.boost@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: regex
Version: Boost Development Trunk | Severity: Problem
Keywords: |
--------------------------------------------------------+-------------------
The documentation for {{{match_results::length}}} and
{{{match_results::position}}} both say:
''The overloads that accept a string refer to a named sub-expression n. In
the event that there is no such named sub-expression then returns an empty
string. ''
Those functions return {{{difference_type}}} not a string
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4215> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC