Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c++ Subject: Re: std::atomic::is_lock_free() Date: Thu, 28 Nov 2019 15:39:12 -0800 Organization: A noiseless patient Spider Lines: 19 Message-ID: <868snza7vj.fsf@linuxsc.com> References: <98e27cbe-79a4-4875-8aaa-a45c1eab293d@googlegroups.com> <4a9ef580-84eb-4782-8d9a-440504086ca1@googlegroups.com> <633f2371-1a23-4ba5-a2ac-1de2b8109a9b@googlegroups.com> <6296f03e-f997-4df4-a64a-205548147fb2@googlegroups.com> <6ab6d8ee-0bb4-4238-ae42-d70db528fec1@googlegroups.com> <669f64c5-28fc-427a-9151-57e6c2e08b27@googlegroups.com> <27be0974-6f5d-481a-a847-8956bb5c8780@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="81b92e3fa8397acac1ab5cf195ff75cd"; logging-data="8012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RZJpcPuodv35Qvq2U9Jb8mLuVjHgqtG0=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:hYURZyWd7GFifOb3p9yoG3dfzMM= sha1:ou+h+xN0Ahhk8+gSiR+GwoblMTM= Xref: csiph.com comp.lang.c++:70099 Öö Tiib writes: > On Sunday, 17 November 2019 16:49:59 UTC+2, Bonita Montero wrote: > >> The standard says that all objects of complete types have a poper >> alignment. > > That is bald, groundless and nonsensical assertion. > All objects *must* have complete types in C++ program: > "A program is ill-formed if the definition of any object gives > the object an incomplete type." Not counting the misspelling of proper, there is nothing nonsensical about it. Furthermore although the C++ standard doesn't use those exact words, it does imply that the statement is true. Incidentally, I think the word "bald" doesn't mean what you think it means. The statement "the sun is shining today" could accurately, even if perhaps confusingly, be termed a "bald statement".