From 14bbe680538ed6a2e1f85a498a56c6138993ead7 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 7 Nov 2002 14:01:16 +0000 Subject: [PATCH] BOOST_DEDUCED_TYPENAME [SVN r16146] --- config.htm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config.htm b/config.htm index 602841f8..11a34b0c 100644 --- a/config.htm +++ b/config.htm @@ -1029,6 +1029,20 @@ provide workarounds for compiler/standard library defects.

Description

+ + + BOOST_DEDUCED_TYPENAME + + Some compilers don't support the + use of typename for dependent types in deduced + contexts. This macro expands to nothing on those compilers, + and typename elsewhere. + +For example, replace:
template  void f(T, typename T::type);
+

with:

+
template  void f(T, BOOST_DEDUCED_TYPENAME T::type);
+ + BOOST_STATIC_CONSTANT(Type, assignment)