Commit 05ee55c4 by Jonathan Wakely Committed by Jonathan Wakely

re PR libstdc++/54248 (Comment in standard library header talks about boost)

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

From-SVN: r190668
parent 66aaf16f
2012-08-25 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/54248
* include/bits/concept_check.h: Replace references to boost
namespace.
2012-08-23 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/54354
......
......@@ -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(...) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment