From -9104815927905782917
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,10e355266b6fd117
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-07-12 11:39:22 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!snoopy.risq.qc.ca!aotearoa.belnet.be!news.belnet.be!kibo.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: Gabriel Dos Reis <gdr@merlin.nerim.net>
Newsgroups: comp.std.c++
Subject: Re: A humble attempt to suggest alignment support for C++
Date: Fri, 12 Jul 2002 18:36:57 GMT
Organization: CodeSourcery, LLC
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <m3bs9cangs.fsf@merlin.nerim.net>
References: <3CEA1A08.C6D95CC7@lmf.ericsson.se> <53e3f3b2.0205270557.bdd703d@posting.google.com> <m3bs9gu4hy.fsf@merlin.nerim.net> <3D2ECDEE.33EE6D72@web.de>
X-Trace: mail2news.demon.co.uk 1026499026 mail2news:3602 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
NNTP-Posting-Date: Fri, 12 Jul 2002 17:03:30 +0000 (UTC)
X-Newsreader: Gnus v5.7/Emacs 20.7
Lines: 22
Xref: archiver1.google.com comp.std.c++:12679

Alexander Terekhov <terekhov@web.de> writes:

[...]

| > I'm not (yet) convinced that a simple type specifier is necessary: A
| > library solution may suffice:
| > 
| >    std::aligned_storage<T>::type buffer[count]
| 
| aligned_storage_pod(T) buffer; // implementation-defined POD type

std::aligned_storage<T>::type is such a POD.  What else am I missing?

-- 
Gabriel Dos Reis, dosreis@cmla.ens-cachan.fr

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



