Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #85988
| From | Manfred <noname@add.invalid> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? |
| Date | 2022-08-19 02:57 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <tdmn5v$hhd$1@gioia.aioe.org> (permalink) |
| References | (2 earlier) <tdkrg5$1t7d$1@gioia.aioe.org> <tdljjp$lq7$1@gioia.aioe.org> <BVsLK.781002$ssF.693060@fx14.iad> <87y1vl36c8.fsf@bsb.me.uk> <tdm3bi$15299$1@dont-email.me> |
On 8/18/2022 9:19 PM, David Brown wrote:
> On 18/08/2022 17:43, Ben Bacarisse wrote:
>> scott@slp53.sl.home (Scott Lurndal) writes:
>>
>>> Muttley@dastardlyhq.com writes:
>>>> On Thu, 18 Aug 2022 09:58:59 +0200
>>>
>>>>> As far as I understood that was exactly what they where aiming for.
>>>>>
>>>>> Thanks for the precedence heads-up.
>>>>
>>>> If in doubt just use brackets. They're free.
>>>
>>> Parentheses work even better. Unless bracket [] is UK
>>> for parentheses ()?
>>
>> Yes, in the UK "brackets" are somewhat generic (i.e. any matched pair of
>> symbols used to convey some extra meaning could be called brackets), but
>> the default meaning is "()". The pair "[]" are "square brackets" and
>> "{}" are "curly brackets", though "braces" has taken hold as the name
>> for "{}" among computer programmers. For completeness, "<>" are usually
>> called "angle brackets".
>>
>> "Parentheses" is a well-understood term here, but sounds a tiny bit
>> pretentious!
>>
>
> That matches my understanding (also UK).
>
>> Are the terms used in the USA absolutely fixed and unambiguous?
>> I.e. are "brackets" always "[]" even to a linguist?
>>
>
> The etymology of "brackets" is a fun story. Brackets (the square ones)
> were introduced to typography in the early days of Guttenberg's press,
> used to support the lines of type. Given their function and appearance
> was similar to the "brackets" used to support the walls of Gothic
> cathedrals, they inherited that name. The cathedral supports got their
> name because someone thought they reminded him of Henry VII's rather
> exaggerated codpiece - and codpieces were sometimes called "brackets"
> meaning "little trousers", the word being a bastardisation of a Breton
> word for "trousers" (which no self-respecting Frenchman or Englishman
> would ever wear at that time) and a French suffix meaning "little".
Could there be any relation with the word "breeches"?
>
> So if we want to be entirely clear, we should refer to the array
> subscript operator in C as "little trousers", or perhaps codpieces!
>
I am missing something on the Gothic cathedral part, though. As far as
my memory for historic architecture goes, one of the distinctive
features of those buildings were the so-called "flying buttresses",
which are in fact curved in nature. Do you mean some other kind of wall
support?
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? "R.Wieser" <address@not.available> - 2022-08-18 07:55 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Ike Naar <ike@sdf.org> - 2022-08-18 06:52 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? "R.Wieser" <address@not.available> - 2022-08-18 09:58 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Muttley@dastardlyhq.com - 2022-08-18 14:50 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? "R.Wieser" <address@not.available> - 2022-08-18 17:12 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? scott@slp53.sl.home (Scott Lurndal) - 2022-08-18 15:29 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-08-18 16:43 +0100
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? scott@slp53.sl.home (Scott Lurndal) - 2022-08-18 16:10 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? David Brown <david.brown@hesbynett.no> - 2022-08-18 21:19 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Manfred <noname@add.invalid> - 2022-08-19 02:57 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? David Brown <david.brown@hesbynett.no> - 2022-08-19 08:29 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-08-19 08:12 -0700
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2022-08-18 16:47 +0100
Re: flags & flagMask == flagMask can be true for flags != flagMask if Muttley@dastardlyhq.com - 2022-08-18 15:50 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-08-18 10:46 -0700
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-08-18 11:30 -0700
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Muttley@dastardlyhq.com - 2022-08-18 15:47 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-08-19 08:53 -0700
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? David Brown <david.brown@hesbynett.no> - 2022-08-19 18:00 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Muttley@dastardlyhq.com - 2022-08-19 16:10 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-08-19 16:45 -0700
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Juha Nieminen <nospam@thanks.invalid> - 2022-08-19 06:01 +0000
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-08-19 16:07 +0100
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-08-19 16:08 +0100
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2022-08-18 16:14 +0100
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? "R.Wieser" <address@not.available> - 2022-08-18 18:10 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Andrey Tarasevich <andreytarasevich@hotmail.com> - 2022-08-18 11:56 -0700
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? "R.Wieser" <address@not.available> - 2022-08-18 21:31 +0200
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? Andrey Tarasevich <andreytarasevich@hotmail.com> - 2022-08-18 21:24 -0700
Re: flags & flagMask == flagMask can be true for flags != flagMask if flags is a superset of flagMask ? "R.Wieser" <address@not.available> - 2022-08-19 09:36 +0200
csiph-web