master
 1//===----------------------------------------------------------------------===//
 2//
 3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 4// See https://llvm.org/LICENSE.txt for license information.
 5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 6//
 7//===----------------------------------------------------------------------===//
 8
 9#ifndef _LIBCPP___LOCALE_DIR_CHECK_GROUPING_H
10#define _LIBCPP___LOCALE_DIR_CHECK_GROUPING_H
11
12#include <__config>
13#include <__fwd/string.h>
14#include <ios>
15
16#if _LIBCPP_HAS_LOCALIZATION
17
18#  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
19#    pragma GCC system_header
20#  endif
21
22_LIBCPP_BEGIN_NAMESPACE_STD
23
24_LIBCPP_EXPORTED_FROM_ABI void
25__check_grouping(const string& __grouping, unsigned* __g, unsigned* __g_end, ios_base::iostate& __err);
26
27_LIBCPP_END_NAMESPACE_STD
28
29#endif // _LIBCPP_HAS_LOCALIZATION
30
31#endif // _LIBCPP___LOCALE_DIR_CHECK_GROUPING_H