GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
sc::auto_vec< T >(3) MPQC sc::auto_vec< T >(3)

sc::auto_vec< T > - The auto_vec class functions much like auto_ptr, except it contains references to arrays.

#include <autovec.h>


typedef T element_type


auto_vec (T *d=0) throw ()
Creates a new auto_vec for a vector, d, of type T. auto_vec (auto_vec &av) throw ()
Create a auto_vec, transferring the storage from another. ~auto_vec () throw ()
This will delete the vector. auto_vec & operator= (auto_vec &av) throw ()
This member transfers the data from av to this. T * get () const throw ()
Returns the pointer. T & operator[] (size_t i) throw ()
Returns the i'th element. T * release () throw ()
Release ownership. void reset (T *d=0) throw ()
Assign to a new value.

class sc::auto_vec< T >"The auto_vec class functions much like auto_ptr, except it contains references to arrays.

The delete[] operator will be used to deallocate data.

Creates a new auto_vec for a vector, d, of type T. The d argument must be created with the vector new operator: new T[...].

Generated automatically by Doxygen for MPQC from the source code.
Tue Jun 7 2022 Version 2.3.1

Search for    or go to Top of page |  Section other |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.