Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/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_CLOCALE
0011 #define _LIBCPP_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 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0038 #  include <__cxx03/clocale>
0039 #else
0040 #  include <__config>
0041 
0042 #  if __has_include(<locale.h>)
0043 #    include <locale.h>
0044 #  endif
0045 
0046 #  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0047 #    pragma GCC system_header
0048 #  endif
0049 
0050 _LIBCPP_BEGIN_NAMESPACE_STD
0051 
0052 using ::lconv _LIBCPP_USING_IF_EXISTS;
0053 using ::setlocale _LIBCPP_USING_IF_EXISTS;
0054 using ::localeconv _LIBCPP_USING_IF_EXISTS;
0055 
0056 _LIBCPP_END_NAMESPACE_STD
0057 
0058 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
0059 
0060 #endif // _LIBCPP_CLOCALE