Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79732 - in trunk: boost/xpressive/traits libs/xpressive/doc
From: eric_at_[hidden]
Date: 2012-07-24 20:24:29


Author: eric_niebler
Date: 2012-07-24 20:24:28 EDT (Tue, 24 Jul 2012)
New Revision: 79732
URL: http://svn.boost.org/trac/boost/changeset/79732

Log:
fix assertion in cpp_regex_traits on libc++, thanks to John Fletcher
Text files modified:
   trunk/boost/xpressive/traits/cpp_regex_traits.hpp | 2 ++
   trunk/libs/xpressive/doc/acknowledgements.qbk | 3 +++
   2 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/boost/xpressive/traits/cpp_regex_traits.hpp
==============================================================================
--- trunk/boost/xpressive/traits/cpp_regex_traits.hpp (original)
+++ trunk/boost/xpressive/traits/cpp_regex_traits.hpp 2012-07-24 20:24:28 EDT (Tue, 24 Jul 2012)
@@ -122,6 +122,8 @@
     umaskex_t const std_ctype_reserved = 0x8000;
     #elif defined(_CPPLIB_VER) && defined(BOOST_WINDOWS)
     umaskex_t const std_ctype_reserved = 0x8200;
+ #elif defined(_LIBCPP_VERSION)
+ umaskex_t const std_ctype_reserved = 0x8000;
     #else
     umaskex_t const std_ctype_reserved = 0;
     #endif

Modified: trunk/libs/xpressive/doc/acknowledgements.qbk
==============================================================================
--- trunk/libs/xpressive/doc/acknowledgements.qbk (original)
+++ trunk/libs/xpressive/doc/acknowledgements.qbk 2012-07-24 20:24:28 EDT (Tue, 24 Jul 2012)
@@ -29,6 +29,9 @@
 parser example in [^libs/xpressive/example/numbers.cpp] and the documentation
 for symbol tables and attributes.
 
+Thanks to John Fletcher for helping track down a runtime assertion when using
+xpressive with Howard Hinnant's most excellent libc++.
+
 Finally, I would like to thank [@http://boost.org/people/thomas_witt.html Thomas Witt]
 for acting as xpressive's review manager.
 


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