🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David Byrden Mon, 22 Jan 1996 17:39
Can Allocators be used outside of RAM?
#3058
Author: David Byrden
Date: Mon, 22 Jan 1996 17:39
23 lines
1671 bytes
I wonder whether anyone can clarify one intent of the Standards 
committee with respect to allocators? 

I hope that it shall be possible, through provision of an Allocator 
class, for containers to use generalised storage devices for their 
data; for example, devices accessed through an API.

Reading the September '95 draft standard, however, I find mention only of 
"main  memory,  shared  memory,  or  private heaps"  and the recent 
requirements that allocator-supplied pointers and references be 
convertible to T* and T&. These seem to suggest that allocators can only 
support addressable memory.

I cannot deduce unambigously from the various specifications whether API 
storage is or is not intended to be usable through Allocators. Does 
anyone know?


                 David
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads