From 95e02f2f5efa7e2ec577e367428b8ca49c3a8a5b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 25 Sep 2001 19:27:30 +0000 Subject: [PATCH] Renamed BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING, added BOOST_NO_VOID_RETURNS [SVN r11259] --- config.htm | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/config.htm b/config.htm index 83f6237e..a21ff06b 100644 --- a/config.htm +++ b/config.htm @@ -538,6 +538,19 @@ class X { ... }; template arguments when calling function template instantiations. + + BOOST_NO_FUNCTION_TEMPLATE_ORDERING + Compiler + The compiler does not + perform function template ordering or its function + template ordering is incorrect.
template<typename T> void f(T); // #1
+template<typename T, typename U> void f(T (*)(U)); // #2
+
+void bar(int);
+
+f(&bar); // should choose #2.
+ + BOOST_NO_INCLASS_MEMBER_INITIALIZATION Compiler @@ -719,16 +732,13 @@ class X { ... }; specific. - BOOST_WEAK_FUNCTION_TEMPLATE_ORDERING + BOOST_NO_VOID_RETURNS Compiler The compiler does not - perform function template ordering or its function - template ordering is incorrect.
template<typename T> void f(T); // #1
-template<typename T, typename U> void f(T (*)(U)); // #2
-
-void bar(int);
-
-f(&bar); // should choose #2.
+ allow a void function to return the result of calling + another void function. +
void f() {}
+void g() { return f(); }
@@ -790,7 +800,7 @@ present.

BOOST_HAS_STLP_USE_FACET Standard library The standard library lacks a - conforming std::use_facet, but has a workaound class-version + conforming std::use_facet, but has a workaround class-version that does the job. This is primarily for the STLport std lib.