diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-04 08:23:44 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-04 08:23:44 +0000 |
commit | 3eff38f3b36451d1032e00cde5d3512d9441c210 (patch) | |
tree | aabe538f98d7a8665885613c46afaabe70ad089d /libstdc++-v3/include/bits/regex.h | |
parent | 656d99cf4d899d99f32c40862615fe5dad64d70f (diff) | |
download | ppe42-gcc-3eff38f3b36451d1032e00cde5d3512d9441c210.tar.gz ppe42-gcc-3eff38f3b36451d1032e00cde5d3512d9441c210.zip |
2013-07-04 Ray Chason <chasonr@newsguy.com>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/57808
* include/bits/regex.h (regex_token_iterator<>::operator==,
regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
regex_token_iterator<>::operator->): Declare const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/regex.h')
-rw-r--r-- | libstdc++-v3/include/bits/regex.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h index 101925a66f8..432752a789d 100644 --- a/libstdc++-v3/include/bits/regex.h +++ b/libstdc++-v3/include/bits/regex.h @@ -2404,7 +2404,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * @todo Implement this function. */ regex_token_iterator(const regex_token_iterator& __rhs); - + /** * @brief Assigns a %regex_token_iterator to another. * @param __rhs [IN] A %regex_token_iterator to copy. @@ -2412,49 +2412,49 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION */ regex_token_iterator& operator=(const regex_token_iterator& __rhs); - + /** * @brief Compares a %regex_token_iterator to another for equality. * @todo Implement this function. */ bool - operator==(const regex_token_iterator& __rhs); - + operator==(const regex_token_iterator& __rhs) const; + /** * @brief Compares a %regex_token_iterator to another for inequality. * @todo Implement this function. */ bool - operator!=(const regex_token_iterator& __rhs); - + operator!=(const regex_token_iterator& __rhs) const; + /** * @brief Dereferences a %regex_token_iterator. * @todo Implement this function. */ const value_type& - operator*(); - + operator*() const; + /** * @brief Selects a %regex_token_iterator member. * @todo Implement this function. */ const value_type* - operator->(); - + operator->() const; + /** * @brief Increments a %regex_token_iterator. * @todo Implement this function. */ regex_token_iterator& operator++(); - + /** * @brief Postincrements a %regex_token_iterator. * @todo Implement this function. */ regex_token_iterator operator++(int); - + private: // data members for exposition only: typedef regex_iterator<_Bi_iter, _Ch_type, _Rx_traits> position_iterator; |