Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66690 - trunk/boost/circular_buffer
From: jano_gaspar_at_[hidden]
Date: 2010-11-22 17:01:15


Author: jano_gaspar
Date: 2010-11-22 17:01:09 EST (Mon, 22 Nov 2010)
New Revision: 66690
URL: http://svn.boost.org/trac/boost/changeset/66690

Log:
circular_buffer: fixed when BOOST_NO_STDC_NAMESPACE defined
Text files modified:
   trunk/boost/circular_buffer/base.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/circular_buffer/base.hpp
==============================================================================
--- trunk/boost/circular_buffer/base.hpp (original)
+++ trunk/boost/circular_buffer/base.hpp 2010-11-22 17:01:09 EST (Mon, 22 Nov 2010)
@@ -34,6 +34,12 @@
     #include <stddef.h>
 #endif
 
+#if defined(BOOST_NO_STDC_NAMESPACE)
+namespace std {
+ using ::memset;
+}
+#endif
+
 namespace boost {
 
 /*!


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