#pragma once
#ifndef _XSTRING_INSERT_H
#define _XSTRING_INSERT_H
#ifndef RC_INVOKED
#include <ostream>
#pragma pack(push,_CRT_PACKING)
#pragma warning(push,_STL_WARNING_LEVEL)
#pragma warning(disable: _STL_DISABLED_WARNINGS)
#pragma warning(disable:
4455
4494
4619
4643
4702
4984
4988
)
_STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new
template
<
class
,
class
,
class
>
inline
<
,
>&
(
<
,
>&
,
const
*
const
,
const
)
{
::
=
::
;
=
.
() <=
0
||
static_cast
<
>(
.
()) <=
?
0
:
static_cast
<
>(
.
()) -
;
const
typename
<
,
>::
(
);
if
(!
_Ok
)
_State
|=
::
;
else
{
if
((
.
() &
::
) !=
::
)
for
(;
0
<
_Pad
; --
_Pad
)
if
(
::eq_int_type(
::eof(),
.
()->sputc(
.
())))
{
_State
|=
::
;
break
;
}
if
(
_State
::
&&
.
()->sputn(
, (
)
)
!= (
)
)
_State
|=
::
;
else
for
(;
0
<
_Pad
; --
_Pad
)
if
(
::eq_int_type(
::eof(),
.
()->sputc(
.
())))
{
_State
|=
::
;
break
;
}
.
(
0
);
_CATCH_IO_(_Ostr)
}
catch
(...) { (
).
(
::
,
true
); }
}
.
(
_State
);
return
(
);
}
#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
#pragma warning(pop)
#pragma pack(pop)
#endif /* RC_INVOKED */
#endif /* _XSTRING_INSERT_H */