Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>ios::xalloc</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ios::xalloc

Usage

   #include <iostream.hpp>
   static int ios::xalloc();

Description

   In stream classes derived from class ios, and in code providing inserters
   for user defined types it may be desired to introduce extra format
   parameter information. The xalloc function provides the capability to

   extend class ios in this way. It returns a previously unused index into
   an array of doublewords that can then be used to access the corresponding
   array element either as a long or as a void*.

Example 

   int ext_param_index = ios::xalloc();
   iword(ext_param_index) = 0;

Return Value

   Returns an integer that is a previously unused index into an array of
   extended format parameter doublewords.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson