From bf9e69a933f89af083d895185f01ed65e4d90766 Mon Sep 17 00:00:00 2001 From: Alexander Fokin Date: Thu, 10 Feb 2022 16:45:38 +0300 Subject: Restoring authorship annotation for Alexander Fokin . Commit 2 of 2. --- library/cpp/containers/stack_array/stack_array.h | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'library/cpp/containers/stack_array') diff --git a/library/cpp/containers/stack_array/stack_array.h b/library/cpp/containers/stack_array/stack_array.h index d5c8bab8d0a..28e49bfc3c2 100644 --- a/library/cpp/containers/stack_array/stack_array.h +++ b/library/cpp/containers/stack_array/stack_array.h @@ -6,21 +6,21 @@ #include /* For alloca. */ namespace NStackArray { - /** + /** * A stack-allocated array. Should be used instead of � variable length - * arrays that are not part of C++ standard. - * - * Example usage: - * @code - * void f(int size) { - * // T array[size]; // Wrong! - * TStackArray array(ALLOC_ON_STACK(T, size)); // Right! - * // ... - * } - * @endcode - * - * Note that it is generally a *VERY BAD* idea to use this in inline methods - * as those might be called from a loop, and then stack overflow is in the cards. + * arrays that are not part of C++ standard. + * + * Example usage: + * @code + * void f(int size) { + * // T array[size]; // Wrong! + * TStackArray array(ALLOC_ON_STACK(T, size)); // Right! + * // ... + * } + * @endcode + * + * Note that it is generally a *VERY BAD* idea to use this in inline methods + * as those might be called from a loop, and then stack overflow is in the cards. */ template class TStackArray: public TArrayRef { -- cgit v1.3