algorithms/ uninitializedcopy.bi

Summary
algorithms/ uninitializedcopy.bi
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
Functions
UninitializedCopyCopies elements in the range [//first//, //last//) to uninitialized memory beginning at //result//.

License

Copyright © 2009, FreeBASIC Extended Library Development Group

Distributed under the FreeBASIC Extended Library Group license.  See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License

Functions

UninitializedCopy

declare function UninitializedCopy overload (
   byval first as const fbext_TypeName(T_) ptr,
   byval last as const fbext_TypeName(T_) ptr,
   byval result as fbext_TypeName(T_) ptr
) as fbext_TypeName(T_) ptr

Copies elements in the range [//first//, //last//) to uninitialized memory beginning at //result//.

Parameters

firstA pointer to the first element to be copied.
lastA pointer to one-past the last element to be copied.
resultA pointer to uninitialized memory that will recieve the copies.

Returns

Returns a pointer to one-past the last element copied.

declare function UninitializedCopy overload (
   byval first as const fbext_TypeName(T_) ptr,
   byval last as const fbext_TypeName(T_) ptr,
   byval result as fbext_TypeName(T_) ptr
) as fbext_TypeName(T_) ptr
Copies elements in the range [//first//, //last//) to uninitialized memory beginning at //result//.