std::ios_base::pword

From Cppreference

Jump to: navigation, search
void* &pword( int index );

Returns a reference to the element with index index in the internal extensible array of elements of type void*. The array can be used for any purpose. The index of the element must be obtained by xalloc(). New space is allocated as required to hold the element with index index. New elements are initialized to NULL.

Contents

[edit] Parameters

index - index value of the element

[edit] Return value

reference to the element

[edit] Example

[edit] See also

iword
accesses specified element in the internal extensible array of long elements
(public member function)
xalloc [static]
returns an unique index to be used to access elements in the internal extensible array
(public static member function)