首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::char_traits::copy

static char_type* copy( char_type* dest, const char_type* src, std::size_t count );

复制件count指向的字符串中的字符。src指向由dest...

如果复制的字符范围重叠,即src在。[dest,,,dest + count29%。

参数

dest

-

pointer to a character string to copy to

src

-

pointer to a character string to copy from

count

-

the number of characters to copy

返回值

dest...

例外

%280%29

复杂性

线性的。

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券