algorithms/ fill.bi

Summary
algorithms/ fill.bi
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
Functions
FillAssigns a value x to the elements in the range [first, last).

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

Fill

declare sub Fill overload (byval first as fbext_TypeName(T_) ptr,
byval last as fbext_TypeName(T_) ptr,
byref x as const fbext_TypeName(T_))

Assigns a value x to the elements in the range [first, last).

Parameters

firstA pointer to the first element in the range to assign.
lastA pointer to one-past the last element in the range to assign.
xThe value to assign.
declare sub Fill overload (byval first as fbext_TypeName(T_) ptr,
byval last as fbext_TypeName(T_) ptr,
byref x as const fbext_TypeName(T_))
Assigns a value x to the elements in the range [first, last).