1// (C) Copyright John Maddock 2001. 2// Use, modification and distribution are subject to the 3// Boost Software License, Version 1.0. (See accompanying file 4// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6// See http://www.boost.org/libs/config for most recent version. 7 8// MACRO: BOOST_HAS_TWO_ARG_USE_FACET 9// TITLE: two argument version of use_facet 10// DESCRIPTION: The standard library lacks a conforming std::use_facet, 11// but has a two argument version that does the job. 12// This is primarily for the Rogue Wave std lib. 13 14#include <locale> 15 16 17namespace boost_has_two_arg_use_facet{ 18 19int test() 20{ 21 std::locale l; 22 const std::ctype<char>& ct = std::use_facet(l, (std::ctype<char>*)0); 23 return 0; 24} 25 26} 27 28 29 30 31 32 33