21 #pragma clang diagnostic push
22 #pragma clang diagnostic ignored "-Wreserved-id-macro"
26 #pragma clang diagnostic pop
35: formatterName( formatterClassName )
47 const String& pFormatString,
78 parser.template ConsumeChars<NC>(1);
279 ALIB_ERROR(
"FMT",
"Internal error: this should have been handled by method checkStdFieldAgainstArgument" )
323 #if ALIB_SIZEOF_INTEGER == 4
345 digits-=
static_cast<int>((target->Length() - fieldStartIdx));
374 #if ALIB_SIZEOF_INTEGER == 8
377 #elif ALIB_SIZEOF_INTEGER == 4
400 auto classification= std::fpclassify(value);
403 if( classification != FP_NAN )
405 bool negative= std::signbit(value);
406 if( classification == FP_ZERO && negative )
452 target->_<
NC>(
'%' );
464 default:
ALIB_ERROR(
"Illegal switch state.")
break;
475 if( std::is_same<character, wchar>::value )
483 integer qtyWCharsAdded= target->
Substring<
NC>( oldTargetLength, target->
Length() - oldTargetLength ).WStringLength();
489 if( qtyWCharsAdded == target->
Length() - oldTargetLength )
494 else if( qtyWCharsAdded < 256)
decltype(std::declval< typename TFDecl::Signature >()(std::declval< Box & >(), std::declval< TArgs >()...)) CallDirect(typename TFDecl::Signature function, TArgs &&... args) const
uinteger UnboxUnsignedIntegral() const
wchar UnboxCharacter() const
bool IsFloatingPoint() const
TFDecl::Signature GetFunction(Reach searchScope, bool isInvocation=false) const
bool IsUnsignedIntegral() const
ALIB_API size_t Hashcode() const
bool IsSignedIntegral() const
unsigned int GetPlaceholderUsageLength() const
ALIB_API double UnboxFloatingPoint() const
decltype(std::declval< typename TFDecl::Signature >()(std::declval< Box & >(), std::declval< TArgs >()...)) Call(TArgs &&... args) const
const std::type_info & TypeID() const
const Placeholder & Data() const
integer UnboxSignedIntegral() const
const TUnboxable Unbox() const
TAString & ShortenTo(integer newLength)
TAString & Append(const TCharSrc *src, integer srcLength)
TAString & _(const TString< TChar > &src, integer regionStart, integer regionLength=MAX_LEN)
void DbgDisableBufferReplacementWarning()
constexpr bool IsNotEmpty() const
constexpr integer Length() const
TString< TChar > Substring(integer regionStart, integer regionLength=MAX_LEN) const
constexpr const TChar * Buffer() const
#define ALIB_CALLER_NULLED
#define ALIB_WARNINGS_RESTORE
#define ALIB_WARNINGS_ALLOW_UNSAFE_BUFFER_USAGE
#define ALIB_ASSERT(cond)
#define ALIB_SIZEOF_INTEGER
platform_specific integer
@ Local
Denotes local reach.
@ Right
Chooses right alignment.
@ Left
Chooses left alignment.
lang::Exception Exception
Type alias in namespace alib.
characters::wchar wchar
Type alias in namespace alib.
detail::UnionIntegrals Integrals
Collection of integrals of different sizes.
uint8_t UInt8
8-bit unsigned integral.
uinteger UInt
Unsigned integral of platform-dependent size.
uint16_t UInt16
16-bit unsigned integral.
uint32_t UInt32
32-bit unsigned integral. Available only if platform is not of 32-bit.
uint64_t UInt64
64-bit unsigned integral. Available only if platform is not of 64-bit.