Is strcpy_s part of the C++ Standard? Or only part of MS Visual C++

坚强是说给别人听的谎言 提交于 2019-12-02 10:04:45

strcpy_s() is an optional part of C11 (more formally called a "conditional feature". Implementations are permitted to not implement the "Bounds-checking interfaces" standardized in Annex K.

Some other conditional features of C11 include:

  • atomics
  • complex types
  • threads
  • variable length arrays (the interesting this about this is that VLAs were not optional in C99)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!