Standard C++ Library Reference ISO/IEC (VERSION3)
from an unspecified source (which may well be the standard heap used by operator new). It
returns a value pr, of type pair<Ty *, ptrdiff_t>. If the function allocates storage,
pr.first designates the allocated storage and pr.second is the number of elements in the
longest sequence the storage can hold. Otherwise, pr.first is a null pointer.
In this implementation, if a translator does not support member template functions, the template:
template<class Ty>
pair<Ty *, ptrdiff_t>
get_temporary_buffer(ptrdiff_t count);
is replaced by:
template<class Ty>
pair<Ty *, ptrdiff_t>
get_temporary_buffer(ptrdiff_t count, Ty *);
operator!=
template<class Ty>
bool operator!=(allocator<Ty>& left,
allocator<Ty>& right);
The template operator returns false.
operator==
template<class Ty>
bool operator==(allocator<Ty>& left,
allocator<Ty>& right);
The template operator returns true. (Two allocator objects should compare equal only if an object
allocated through one can be deallocated through the other. If the value of one object is
determined from another by assignment or by construction, the two object should compare
equal.)
raw_storage_iterator
template<class FwdIt, class Ty>
class raw_storage_iterator
: public iterator<output_iterator_tag,
void, void, void, void> {
public:
typedef FwdIt iter_type;
typedef Ty element_type;