Use thread_alloc to allocate an array, then call default construtor for each element.
- Template Parameters
-
| Type | The type of the elements of the array. |
- Parameters
-
| size_min | [in] The minimum number of elements in the array. |
| size_out | [out] The actual number of elements in the array. |
- Returns
- pointer to the first element of the array. The default constructor is used to initialize all the elements of the array.
- The
extra_ field, in the thread_alloc node before the return value, is set to size_out.
Definition at line 1355 of file thread_alloc.hpp.