From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,81633e7277ffacee X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada containers and custom allocators Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <472f2c87-1238-42a5-8b94-92e9b70981da@f47g2000hsd.googlegroups.com> Date: Mon, 7 Jan 2008 17:29:14 +0100 Message-ID: NNTP-Posting-Date: 07 Jan 2008 17:29:17 CET NNTP-Posting-Host: 7b6af74d.newsspool2.arcor-online.net X-Trace: DXC=XLB;\T9FgVIgj[ZPFj7ehOA9EHlD;3YcB4Fo<]lROoRAnkgeX?EC@@@CboTG`\P]4I[6LHn;2LCVN[ On Mon, 7 Jan 2008 07:48:58 -0800 (PST), Maciej Sobczak wrote: > Is it possible to set up a custom allocator for use with any given Ada > container? Formally yes, the container type is just a type and you can declare a pool-specific access type for it. Though, if the container implementation allocates some things privately, then you have no influence on how it does that, unless this allocation is exposed in container's interface. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de