🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2643

Re: STL and sorted disk based list

#2643
From: John Max Skaller
Date: Sun, 19 Nov 1995 20:39
32 lines
1891 bytes
ralphs@tesser.com (Ralph Shnelvar) wrote:
>
>I haven't even peeked at the STL but am wondering if there is support
>for a disk based sorting and/or indexing algorithms.
>
>That is, is there support for sorting monster arrays.

YES. STL sort is a completely generic algorithm. It can
sort "anything".

However, STL does not come pre-packaged with a
"Monster_Disk_Array" container. but you can write
one yourself, and if you follow the requirements
for such containers, STL sort will sort it,
reverse it, permute it or copy it.

[Note some algorithms might require some local storage.
It _should_ be documented how much if the amount
is not fixed. if it isn't we'd better complain
because programmers need to know about space
as well as time requirements]


-- 
John Max Skaller               voice: 61-2-566-2189
81 Glebe Point Rd              fax:   61-2-660-0850
GLEBE NSW 2037                 email: maxtal@suphys.physics.oz.au
AUSTRALIA                      email: skaller@maxtal.com.au
---
[ 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. ]
Technical Details
Message-ID: <48nhdr$r5f@oznet07.ozemail.com.au>
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back
References: <48h0vg$8i6@meg.tesser.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back
From: John Max Skaller <maxtal@suphys.physics.su.oz.au>
Subject: Re: STL and sorted disk based list
Message-ID: <48nhdr$r5f@oznet07.ozemail.com.au>
Originator: fjh@munta.cs.mu.OZ.AU
Sender: news@cs.mu.OZ.AU (CS-Usenet)
Organization: MAXTAL
References: <48h0vg$8i6@meg.tesser.com>
X-Original-Date: 19 Nov 1995 15: 10:51 GMT
Date: Sun, 19 Nov 1995 20:39:31 GMT
Approved: fjh@cs.mu.oz.au
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMK+WDuEDnX0m9pzZAQEKPAF9HmBPH9OVAN46p1Q2D3zyKs8WjRVDYU3h
 pZ9jKDPgqsqq/jL2aA/lFHCD38AmgPq+
 =nYtO
X-Mailer: Mozilla 1.2N (Windows; I; 16bit)