cplusplus / ssrg

Safety and Security Review Group
3 stars 0 forks source link

P1315: secure_clear #2

Open HowardHinnant opened 3 years ago

HowardHinnant commented 3 years ago

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1315r7.html

This proposal adds a memset_explicit function (C) and a memset_explicit function template (C++) that guarantee users that a memory area is cleared.