From f0f854707d00386982411dbad828b4dd4bb92721 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 12 Jul 2004 03:15:38 +0000 Subject: [PATCH] Document BOOST_HAS_FACET macro [SVN r23455] --- config.htm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.htm b/config.htm index c0f42426..6b5cd9eb 100644 --- a/config.htm +++ b/config.htm @@ -1065,6 +1065,17 @@ void g() { return f(); }

Note do not add a std:: prefix to the front of BOOST_USE_FACET.

+ + BOOST_HAS_FACET(Type, loc) + When the standard library does not have a comforming + std::has_facet there are various workarounds available, but they differ from + library to library. This macro provides a consistent way to check a locale's + facets. For example, replace:
std::has_facet<Type>(loc);
+

with:

+
BOOST_HAS_FACET(Type, loc);
+

Note do not add a std:: prefix to the front of BOOST_HAS_FACET.

+ + BOOST_NESTED_TEMPLATE Member templates are supported by some compilers even