Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/__cxx03/clocale is written in an unsupported language. File is not indexed.

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP___CXX03_CLOCALE
0011 #define _LIBCPP___CXX03_CLOCALE
0012 
0013 /*
0014     clocale synopsis
0015 
0016 Macros:
0017 
0018     LC_ALL
0019     LC_COLLATE
0020     LC_CTYPE
0021     LC_MONETARY
0022     LC_NUMERIC
0023     LC_TIME
0024     NULL
0025 
0026 namespace std
0027 {
0028 
0029 struct lconv;
0030 char* setlocale(int category, const char* locale);
0031 lconv* localeconv();
0032 
0033 }  // std
0034 
0035 */
0036 
0037 #include <__cxx03/__config>
0038 
0039 #include <__cxx03/locale.h>
0040 
0041 #ifndef _LIBCPP___CXX03_LOCALE_H
0042 #   error <clocale> tried including <locale.h> but didn't find libc++'s <locale.h> header. \
0043           This usually means that your header search paths are not configured properly. \
0044           The header search paths should contain the C++ Standard Library headers before \
0045           any C Standard Library, and you are probably using compiler flags that make that \
0046           not be the case.
0047 #endif
0048 
0049 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0050 #  pragma GCC system_header
0051 #endif
0052 
0053 _LIBCPP_BEGIN_NAMESPACE_STD
0054 
0055 using ::lconv _LIBCPP_USING_IF_EXISTS;
0056 using ::setlocale _LIBCPP_USING_IF_EXISTS;
0057 using ::localeconv _LIBCPP_USING_IF_EXISTS;
0058 
0059 _LIBCPP_END_NAMESPACE_STD
0060 
0061 #endif // _LIBCPP___CXX03_CLOCALE