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 the most recent version. 7 8// MACRO: BOOST_NO_STD_USE_FACET 9// TITLE: std::use_facet 10// DESCRIPTION: The standard library lacks a conforming std::use_facet. 11 12#include <locale> 13 14namespace boost_no_std_use_facet{ 15 16int test() 17{ 18 std::locale l; 19 const std::ctype<char>& ct = std::use_facet<std::ctype<char> >(l); 20 (void)ct; 21 return 0; 22} 23 24} 25 26 27 28 29 30