mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
9 lines
322 B
Text
9 lines
322 B
Text
extern "C++"
|
|
{
|
|
template <size_t _Size, typename _DstType>
|
|
inline
|
|
typename _CrtEnableIf<(_Size > 1), void *>::_Type memcpy(_DstType (&_Dst)[_Size], const void *_Src, size_t _SrcSize) throw()
|
|
{
|
|
return memcpy_s(_Dst, _Size * sizeof(_DstType), _Src, _SrcSize) == 0 ? _Dst : 0;
|
|
}
|
|
}
|