Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61717 - trunk/boost/xpressive/detail/core
From: eric_at_[hidden]
Date: 2010-04-30 19:48:20


Author: eric_niebler
Date: 2010-04-30 19:48:20 EDT (Fri, 30 Apr 2010)
New Revision: 61717
URL: http://svn.boost.org/trac/boost/changeset/61717

Log:
replace non-portable using declarations with typedefs
Text files modified:
   trunk/boost/xpressive/detail/core/results_cache.hpp | 14 +++++++-------
   1 files changed, 7 insertions(+), 7 deletions(-)

Modified: trunk/boost/xpressive/detail/core/results_cache.hpp
==============================================================================
--- trunk/boost/xpressive/detail/core/results_cache.hpp (original)
+++ trunk/boost/xpressive/detail/core/results_cache.hpp 2010-04-30 19:48:20 EDT (Fri, 30 Apr 2010)
@@ -43,13 +43,13 @@
         friend struct xpressive::match_results<BidiIter>;
         typedef list<xpressive::match_results<BidiIter> > base_type;
 
- using base_type::iterator;
- using base_type::const_iterator;
- using base_type::pointer;
- using base_type::const_pointer;
- using base_type::reference;
- using base_type::const_reference;
- using base_type::size_type;
+ typedef typename base_type::iterator iterator;
+ typedef typename base_type::const_iterator const_iterator;
+ typedef typename base_type::pointer pointer;
+ typedef typename base_type::const_pointer const_pointer;
+ typedef typename base_type::reference reference;
+ typedef typename base_type::const_reference const_reference;
+ typedef typename base_type::size_type size_type;
         using base_type::begin;
         using base_type::end;
         using base_type::size;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk