$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: hughwimberly_at_[hidden]
Date: 2007-07-06 17:47:29
Author: hughwimberly
Date: 2007-07-06 17:47:28 EDT (Fri, 06 Jul 2007)
New Revision: 7380
URL: http://svn.boost.org/trac/boost/changeset/7380
Log:
eod - backup copy
Text files modified: 
   sandbox/SOC/2007/regex/named-captures/boost/regex/v4/basic_regex.hpp   |     8 ++++++++                                
   sandbox/SOC/2007/regex/named-captures/boost/regex/v4/match_results.hpp |     1 +                                       
   2 files changed, 9 insertions(+), 0 deletions(-)
Modified: sandbox/SOC/2007/regex/named-captures/boost/regex/v4/basic_regex.hpp
==============================================================================
--- sandbox/SOC/2007/regex/named-captures/boost/regex/v4/basic_regex.hpp	(original)
+++ sandbox/SOC/2007/regex/named-captures/boost/regex/v4/basic_regex.hpp	2007-07-06 17:47:28 EDT (Fri, 06 Jul 2007)
@@ -91,6 +91,7 @@
                           const charT* arg_last,
                           flag_type f)
    {
+      p_capture_names.reset(new std::map<const charT*, int>());
       regex_data<charT, traits>* pdat = this;
       basic_regex_parser<charT, traits> parser(pdat);
       parser.parse(arg_first, arg_last, f);
@@ -166,6 +167,8 @@
       basic_regex_implementation<charT, traits> const* p = this;
       return *static_cast<const regex_data<charT, traits>*>(p);
    }
+private:
+   shared_ptr<std::map<const charT*, int> > p_capture_names;
 };
 
 } // namespace re_detail
@@ -496,6 +499,11 @@
       BOOST_ASSERT(0 != m_pimpl.get());
       return m_pimpl->get_data();
    }
+   const shared_ptr<std::map<const charT*, int> > get_capture_names_ptr()const
+   {
+      BOOST_ASSERT(0 != m_pimpl.get());
+      return m_pimpl->p_capture_names;
+   }
 
 private:
    shared_ptr<re_detail::basic_regex_implementation<charT, traits> > m_pimpl;
Modified: sandbox/SOC/2007/regex/named-captures/boost/regex/v4/match_results.hpp
==============================================================================
--- sandbox/SOC/2007/regex/named-captures/boost/regex/v4/match_results.hpp	(original)
+++ sandbox/SOC/2007/regex/named-captures/boost/regex/v4/match_results.hpp	2007-07-06 17:47:28 EDT (Fri, 06 Jul 2007)
@@ -292,6 +292,7 @@
    vector_type            m_subs; // subexpressions
    BidiIterator   m_base; // where the search started from
    sub_match<BidiIterator> m_null; // a null match
+   shared_ptr<std::map<const char_type*, int> > p_capture_names;
 };
 
 template <class BidiIterator, class Allocator>