algorithms/ uninitializedfilln.bi

Summary
algorithms/ uninitializedfilln.bi
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
Functions
UninitializedFillNCopies a value //x// to a number of uninitialized elements //n// in the range starting at //first//.

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

UninitializedFillN

declare sub UninitializedFillN overload (
   byval first as fbext_TypeName(T_) ptr,
   byval n as SizeType,
   byref x as const fbext_TypeName(T_)
)

Copies a value //x// to a number of uninitialized elements //n// in the range starting at //first//.

Parameters

firstA pointer to the first element in the range.
nThe number of elements in the range.
xThe value to fill.
declare sub UninitializedFillN overload (
   byval first as fbext_TypeName(T_) ptr,
   byval n as SizeType,
   byref x as const fbext_TypeName(T_)
)
Copies a value //x// to a number of uninitialized elements //n// in the range starting at //first//.