A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/fmtlib/fmt/commit/f213d83306aafa2431be7dfb6749d887a8cb0e2f below:

Disable locale more · fmtlib/fmt@f213d83 · GitHub

73 73

# define FMT_INLINE_VARIABLE

74 74

#endif

75 75 76 -

#ifndef FMT_NO_UNIQUE_ADDRESS

77 -

# if FMT_CPLUSPLUS >= 202002L

78 -

# if FMT_HAS_CPP_ATTRIBUTE(no_unique_address)

79 -

# define FMT_NO_UNIQUE_ADDRESS [[no_unique_address]]

80 -

// VS2019 v16.10 and later except clang-cl (https://reviews.llvm.org/D110485).

81 -

# elif (FMT_MSC_VERSION >= 1929) && !FMT_CLANG_VERSION

82 -

# define FMT_NO_UNIQUE_ADDRESS [[msvc::no_unique_address]]

83 -

# endif

84 -

# endif

85 -

#endif

86 -

#ifndef FMT_NO_UNIQUE_ADDRESS

87 -

# define FMT_NO_UNIQUE_ADDRESS

88 -

#endif

89 - 90 76

// Visibility when compiled as a shared library/object.

91 77

#if defined(FMT_LIB_EXPORT) || defined(FMT_SHARED)

92 78

# define FMT_SO_VISIBILITY(value) FMT_VISIBILITY(value)

@@ -799,14 +785,6 @@ using is_double_double = bool_constant<std::numeric_limits<T>::digits == 106>;

799 785

# define FMT_USE_FULL_CACHE_DRAGONBOX 0

800 786

#endif

801 787 802 -

#ifdef FMT_USE_LOCALE

803 -

// Use the provided definition.

804 -

#elif defined(FMT_STATIC_THOUSANDS_SEPARATOR)

805 -

# define FMT_USE_LOCALE 0

806 -

#else

807 -

# define FMT_USE_LOCALE 1

808 -

#endif

809 - 810 788

template <typename T, typename Enable = void>

811 789

struct is_locale : std::false_type {};

812 790

template <typename T>

@@ -2207,8 +2185,7 @@ template <typename Char = char> struct loc_writer {

2207 2185 2208 2186

template <typename Char, typename OutputIt, typename T>

2209 2187

FMT_CONSTEXPR FMT_INLINE auto write_int(OutputIt out, write_int_arg<T> arg,

2210 -

const format_specs& specs, locale_ref)

2211 -

-> OutputIt {

2188 +

const format_specs& specs) -> OutputIt {

2212 2189

static_assert(std::is_same<T, uint32_or_64_or_128_t<T>>::value, "");

2213 2190

auto abs_value = arg.abs_value;

2214 2191

auto prefix = arg.prefix;

@@ -2260,9 +2237,9 @@ FMT_CONSTEXPR FMT_INLINE auto write_int(OutputIt out, write_int_arg<T> arg,

2260 2237

template <typename Char, typename OutputIt, typename T>

2261 2238

FMT_CONSTEXPR FMT_NOINLINE auto write_int_noinline(OutputIt out,

2262 2239

write_int_arg<T> arg,

2263 -

const format_specs& specs,

2264 -

locale_ref loc) -> OutputIt {

2265 -

return write_int<Char>(out, arg, specs, loc);

2240 +

const format_specs& specs)

2241 +

-> OutputIt {

2242 +

return write_int<Char>(out, arg, specs);

2266 2243

}

2267 2244

template <typename Char, typename T,

2268 2245

FMT_ENABLE_IF(is_integral<T>::value &&

@@ -2273,7 +2250,7 @@ FMT_CONSTEXPR FMT_INLINE auto write(basic_appender<Char> out, T value,

2273 2250

-> basic_appender<Char> {

2274 2251

if (specs.localized() && write_loc(out, value, specs, loc)) return out;

2275 2252

return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),

2276 -

specs, loc);

2253 +

specs);

2277 2254

}

2278 2255

// An inlined version of write used in format string compilation.

2279 2256

template <typename Char, typename OutputIt, typename T,

@@ -2285,8 +2262,7 @@ FMT_CONSTEXPR FMT_INLINE auto write(OutputIt out, T value,

2285 2262

const format_specs& specs, locale_ref loc)

2286 2263

-> OutputIt {

2287 2264

if (specs.localized() && write_loc(out, value, specs, loc)) return out;

2288 -

return write_int<Char>(out, make_write_int_arg(value, specs.sign()), specs,

2289 -

loc);

2265 +

return write_int<Char>(out, make_write_int_arg(value, specs.sign()), specs);

2290 2266

}

2291 2267 2292 2268

template <typename Char, typename OutputIt>


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4