summaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/stack_array/stack_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/containers/stack_array/stack_array.h')
-rw-r--r--library/cpp/containers/stack_array/stack_array.h28
1 files changed, 14 insertions, 14 deletions
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 <util/system/defaults.h> /* 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<T> 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<T> 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 T>
class TStackArray: public TArrayRef<T> {