memory.bi

Summary
memory.bi
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
Functions
SetPlacementAddressSets a new address that is used for in-place construction and destruction of objects.
Macros
FBEXT_DECLARE_PLACEMENT_NEWDELDeclares member operators new and delete.
FBEXT_DEFINE_PLACEMENT_NEWDELDefines member operators new and delete.

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

SetPlacementAddress

Sets a new address that is used for in-place construction and destruction of objects.

Parameters

pThe new placement address.

Macros

FBEXT_DECLARE_PLACEMENT_NEWDEL

# macro FBEXT_DECLARE_PLACEMENT_NEWDEL(T_)

Declares member operators new and delete.  This macro should only be used inside TYPE or CLASS definitions.

Parameters

T_The TYPE or CLASS being defined.

FBEXT_DEFINE_PLACEMENT_NEWDEL

# macro FBEXT_DEFINE_PLACEMENT_NEWDEL(T_)

Defines member operators new and delete.

Parameters

T_The TYPE or CLASS being defined.
# macro FBEXT_DECLARE_PLACEMENT_NEWDEL(T_)
Declares member operators new and delete.
# macro FBEXT_DEFINE_PLACEMENT_NEWDEL(T_)
Defines member operators new and delete.