File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55#ifndef BOOST_CHARCONV_CHARS_FORMAT_HPP
66#define BOOST_CHARCONV_CHARS_FORMAT_HPP
77
8+ #if defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
9+
10+ #ifndef BOOST_IN_MODULE_PURVIEW
11+ import boost.charconv;
12+ #ifndef BOOST_CHARCONV_CONSTEXPR
13+ #define BOOST_CHARCONV_CONSTEXPR constexpr
14+ #endif
15+ #endif
16+
17+ #else
18+
819#include < boost/charconv/config.hpp>
920
1021namespace boost { namespace charconv {
@@ -21,4 +32,6 @@ BOOST_CHARCONV_MODULE_EXPORT enum class chars_format : unsigned
2132
2233}} // Namespaces
2334
35+ #endif // defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
36+
2437#endif // BOOST_CHARCONV_CHARS_FORMAT_HPP
Original file line number Diff line number Diff line change 66#ifndef BOOST_CHARCONV_FROM_CHARS_HPP_INCLUDED
77#define BOOST_CHARCONV_FROM_CHARS_HPP_INCLUDED
88
9+ #if defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
10+
11+ #ifndef BOOST_IN_MODULE_PURVIEW
12+ import boost.charconv;
13+ #ifndef BOOST_CHARCONV_CONSTEXPR
14+ #define BOOST_CHARCONV_CONSTEXPR constexpr
15+ #endif
16+ #endif
17+
18+ #else
19+
920#include < boost/charconv/detail/config.hpp>
1021#include < boost/charconv/detail/from_chars_result.hpp>
1122#include < boost/charconv/detail/from_chars_integer_impl.hpp>
@@ -252,4 +263,6 @@ BOOST_CHARCONV_MODULE_EXPORT BOOST_CHARCONV_DECL from_chars_result from_chars(bo
252263} // namespace charconv
253264} // namespace boost
254265
266+ #endif // defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
267+
255268#endif // #ifndef BOOST_CHARCONV_FROM_CHARS_HPP_INCLUDED
Original file line number Diff line number Diff line change 55#ifndef BOOST_CHARCONV_LIMITS_HPP
66#define BOOST_CHARCONV_LIMITS_HPP
77
8+ #if defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
9+
10+ #ifndef BOOST_IN_MODULE_PURVIEW
11+ import boost.charconv;
12+ #ifndef BOOST_CHARCONV_CONSTEXPR
13+ #define BOOST_CHARCONV_CONSTEXPR constexpr
14+ #endif
15+ #endif
16+
17+ #else
18+
819#include < boost/charconv/detail/config.hpp>
920#include < boost/config/std/limits.hpp>
1021#include < boost/config/std/type_traits.hpp>
@@ -94,4 +105,6 @@ template<typename T> BOOST_ATTRIBUTE_UNUSED constexpr int limits<T>::max_chars;
94105
95106}} // namespace boost::charconv
96107
108+ #endif // defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
109+
97110#endif // BOOST_CHARCONV_LIMITS_HPP
Original file line number Diff line number Diff line change 77#ifndef BOOST_CHARCONV_TO_CHARS_HPP_INCLUDED
88#define BOOST_CHARCONV_TO_CHARS_HPP_INCLUDED
99
10+ #if defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
11+
12+ #ifndef BOOST_IN_MODULE_PURVIEW
13+ import boost.charconv;
14+ #ifndef BOOST_CHARCONV_CONSTEXPR
15+ #define BOOST_CHARCONV_CONSTEXPR constexpr
16+ #endif
17+ #endif
18+
19+ #else
20+
1021#include < boost/charconv/detail/to_chars_integer_impl.hpp>
1122#include < boost/charconv/detail/to_chars_result.hpp>
1223#include < boost/charconv/config.hpp>
@@ -144,4 +155,6 @@ BOOST_CHARCONV_MODULE_EXPORT BOOST_CHARCONV_DECL to_chars_result to_chars(char*
144155} // namespace charconv
145156} // namespace boost
146157
158+ #endif // defined(BOOST_USE_MODULES) && !defined(BOOST_CHARCONV_INTERFACE_UNIT)
159+
147160#endif // #ifndef BOOST_CHARCONV_TO_CHARS_HPP_INCLUDED
You can’t perform that action at this time.
0 commit comments