Topic: Defect Report: Unclear which members of match_results should be
Author: nzm-mm@tsuki.jpn.org (Nozomu Katoo)
Date: Sun, 27 May 2007 17:02:15 GMT Raw View
Dear C++ committee,
In "28.4 Header <regex> synopsis [re.syn]" of N2284, two template functions
are declared here:
// 28.10, class template match_results:
<snip>
// match_results comparisons
template <class BidirectionalIterator, class Allocator>
bool operator== (const match_results<BidirectionalIterator, Allocator>& m1,
const match_results<BidirectionalIterator, Allocator>& m2);
template <class BidirectionalIterator, class Allocator>
bool operator!= (const match_results<BidirectionalIterator, Allocator>& m1,
const match_results<BidirectionalIterator, Allocator>& m2);
// 28.10.6, match_results swap:
But the details of these two bool operator functions (i.e., which members of
match_results should be used in comparison) are not described in any following
sections.
Sincerely,
--
Nozomu Katoo <nzm-mm@tsuki.jpn.org>
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]