Patchwork [v3] fix PR 54248

login
register
mail settings
Submitter Jonathan Wakely
Date Aug. 25, 2012, 6:51 p.m.
Message ID <CAH6eHdQC8u2+_YmURutRYUk3AfNKuHk+pFYnFrfzkt4=ybi5Eg@mail.gmail.com>
Download mbox | patch
Permalink /patch/179982/
State New
Headers show

Comments

Jonathan Wakely - Aug. 25, 2012, 6:51 p.m.
PR libstdc++/54248
        * include/bits/concept_check.h: Replace references to boost
        namespace.

Committed to trunk.
commit c545fcbc54ee0a5990c5c9cf84116b55ab07475a
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Sat Aug 25 19:49:10 2012 +0100

    	PR libstdc++/54248
    	* include/bits/concept_check.h: Replace references to boost
    	namespace.

Patch

diff --git a/libstdc++-v3/include/bits/concept_check.h b/libstdc++-v3/include/bits/concept_check.h
index 9517e5c..3d74284 100644
--- a/libstdc++-v3/include/bits/concept_check.h
+++ b/libstdc++-v3/include/bits/concept_check.h
@@ -56,12 +56,12 @@ 
 
 // Note that the obvious and elegant approach of
 //
-//#define glibcxx_function_requires(C) boost::function_requires< boost::C >()
+//#define glibcxx_function_requires(C) debug::function_requires< debug::C >()
 //
 // won't work due to concept templates with more than one parameter, e.g.,
 // BinaryPredicateConcept.  The preprocessor tries to split things up on
 // the commas in the template argument list.  We can't use an inner pair of
-// parenthesis to hide the commas, because "boost::(Temp<Foo,Bar>)" isn't
+// parenthesis to hide the commas, because "debug::(Temp<Foo,Bar>)" isn't
 // a valid instantiation pattern.  Thus, we steal a feature from C99.
 
 #define __glibcxx_function_requires(...)                                 \