containers/pair.bi

This header is currently under development and is not ready for usage.

Summary
containers/pair.biThis header is currently under development and is not ready for usage.
LicenseCopyright © 2007-2011, FreeBASIC Extended Library Development Group
ext
fbext_Pair(((T_)(C_)))Macro template that generates classes used to store element values of type T_ and type C_.
Functions
default constructorConstructs a pair using the pair types default constructors.
constructorConstructs a pair using the passed values.
copy constructorConstructs a pair as a copy of another pair.
operator Let
Variables
first
second

License

Copyright © 2007-2011, 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

ext

fbext_Pair(((T_)(C_)))

Macro template that generates classes used to store element values of type T_ and type C_.

Parameters

T_the first type of element value stored in the pair.
C_the second type of element value stored in the pair.
Summary
Functions
default constructorConstructs a pair using the pair types default constructors.
constructorConstructs a pair using the passed values.
copy constructorConstructs a pair as a copy of another pair.
operator Let
Variables
first
second

Functions

default constructor

Constructs a pair using the pair types default constructors.

constructor

declare constructor(byref first as const fbext_TypeName(T_),
byref second as const fbext_TypeName(C_))

Constructs a pair using the passed values.

copy constructor

Constructs a pair as a copy of another pair.

operator Let

declare operator Let(byref rhs as const fbext_Pair((T_)(C_)))

Variables

first

first as fbext_TypeName(T_)

second

second as fbext_TypeName(C_)
declare constructor(byref first as const fbext_TypeName(T_),
byref second as const fbext_TypeName(C_))
Constructs a pair using the passed values.
declare operator Let(byref rhs as const fbext_Pair((T_)(C_)))
first as fbext_TypeName(T_)
second as fbext_TypeName(C_)