#pragma once
#ifndef _XLOCMES_
#define _XLOCMES_
#ifndef RC_INVOKED
#include <xiosbase>
#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
struct
:
public
::
{
typedef
int
;
explicit
(
=
0
)
:
::
(
)
{
}
};
template
<
class
>
class
:
public
{
public
:
typedef
;
typedef
<
,
<
>,
<
> >
;
(
const
&
,
const
&
)
const
{
return
(
(
,
));
}
(
,
int
,
int
,
const
&
)
const
{
return
(
(
,
,
,
));
}
void
(
)
const
{
(
);
}
__PURE_APPDOMAIN_GLOBAL _CRTIMP2_PURE_IMPORT static locale::id id; // unique facet id
__declspec
(dllimport)
static
::
;
explicit
(
=
0
)
:
(
)
{
(
_Lobj
);
}
(
const
&
,
=
0
)
:
(
)
{
(
);
}
static
(
const
::
**
=
nullptr
,
const
*
=
nullptr
)
{
if
(
!=
nullptr
&& *
==
nullptr
)
*
=
new
<
>(
(
->
()));
}
protected
:
(
const
char
*
,
=
0
)
:
(
)
{
_BEGIN_LOCINFO(_Lobj(_Locname))
(
_Lobj
);
}
virtual __CLR_OR_THIS_CALL ~messages() noexcept
{
}
void
(
const
&)
{
}
virtual catalog __CLR_OR_THIS_CALL do_open(const string&, const locale&) const
virtual
(
const
&,
const
&)
const
{
return
(-
1
);
}
virtual string_type __CLR_OR_THIS_CALL do_get(catalog, int, int,
const
&
)
const
{
return
(
);
}
virtual void __CLR_OR_THIS_CALL do_close(catalog) const
{
}
};
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdllimport-static-field-def"
#endif /* __clang__ */
template
<
class
>
__PURE_APPDOMAIN_GLOBAL locale::id messages<_Elem>::id;
#ifdef __clang__
#pragma clang diagnostic pop
#endif /* __clang__ */
template
<
class
>
class
:
public
<
>
{
public
:
explicit
(
const
char
*
,
=
0
)
:
<
>(
,
)
{
}
explicit
(
const
&
,
=
0
)
:
<
>(
.
(),
)
{
}
protected
:
virtual __CLR_OR_THIS_CALL ~messages_byname() noexcept
{
}
};
#if defined(_DLL_CPPLIB)
#if !defined(_CRTBLD) || defined(__FORCE_INSTANCE)
template __PURE_APPDOMAIN_GLOBAL locale::id messages<char>::id;
template __PURE_APPDOMAIN_GLOBAL locale::id messages<wchar_t>::id;
#endif /* !defined(_CRTBLD) || defined(__FORCE_INSTANCE) */
template
::
<
wchar_t
>::id;
#ifdef __FORCE_INSTANCE
template __PURE_APPDOMAIN_GLOBAL locale::id messages<unsigned short>::id;
#endif /* __FORCE_INSTANCE */
#endif /* defined(_DLL_CPPLIB) */
#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
#pragma warning(pop)
#pragma warning(pop)
#pragma pack(pop)
#endif /* RC_INVOKED */
#endif /* _XLOCMES_ */
#pragma pack(pop)