for allocating a single POD value
Appends a single element to an array.
Append dchar to char[]
Append dchar to wchar[]
Resize dynamic arrays with 0 initializers.
Resize arrays for non-zero initializers. p pointer to array lvalue to be updated newlength new .length property of array sizeelem size of each element of array initsize size of initializer ... initializer
Allocate a new array of length elements. ti is the type of the resulting array, or pointer to element. The resulting array is initialized to 0
As _d_newarrayT, but for when the array has a non-zero initializer.
Allocate a new array of arrays of arrays of arrays ... ti is the type of the resulting array. ndims is the number of nested arrays. dims it the array of dimensions, its size is ndims. The resulting array is initialized to 0
As _d_newarraymT, but for when the array has a non-zero initializer.
As _d_newarraymT, but without initialization
As _d_newarrayT, but without initialization
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, in both source and binary form, subject to the following restrictions:
o The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. o Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. o This notice may not be removed or altered from any source distribution.
Copyright (C) 2004-2007 Digital Mars, www.digitalmars.com. All rights reserved.
This module contains all functions related to an object's lifetime: allocation, resizing, deallocation, and finalization.