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
This commit is contained in:
parent
66aaf16f87
commit
05ee55c46b
|
@ -1,3 +1,9 @@
|
|||
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(...) \
|
||||
|
|
Loading…
Reference in New Issue