aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include
diff options
context:
space:
mode:
authorhiddenpath <hiddenpath@yandex-team.com>2024-05-08 00:39:28 +0300
committerhiddenpath <hiddenpath@yandex-team.com>2024-05-08 01:24:55 +0300
commitc3d51e170ca39637234e72ae19dcbc53b737a83e (patch)
treeb5915a7e54033fc1c3abce7ec1343ea713ba7b8a /contrib/libs/cxxsupp/libcxx/include
parent99b628d1242072b768de87b19c9a54ef90b2917a (diff)
downloadydb-c3d51e170ca39637234e72ae19dcbc53b737a83e.tar.gz
Add documentation for resize_uninitialized vector method
ac63a7a4001b37ff5d8d2f3e9293acf6eecc893f
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/vector1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/vector b/contrib/libs/cxxsupp/libcxx/include/vector
index b72a4b51bf..2b59752eed 100644
--- a/contrib/libs/cxxsupp/libcxx/include/vector
+++ b/contrib/libs/cxxsupp/libcxx/include/vector
@@ -730,6 +730,7 @@ public:
}
#if _YNDX_LIBCXX_ENABLE_VECTOR_POD_RESIZE_UNINITIALIZED
+ // This function works only for POD types, otherwise memory leak may occur.
void resize_uninitialized(size_type __sz);
#endif