Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #85865
| From | Muttley@dastardlyhq.com |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: initializer list type deduction rules |
| Date | 2022-08-12 08:26 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <td52rd$7pi$1@gioia.aioe.org> (permalink) |
| References | (3 earlier) <19e1392a-2188-4d49-98bf-4bbf645d4a02n@googlegroups.com> <tcvo8u$kl5$1@gioia.aioe.org> <08c27ac3-7d12-4724-8462-daa3337dfcb2n@googlegroups.com> <tcvppt$18ns$1@gioia.aioe.org> <c353b6c3-b434-40df-97b1-44484c668958n@googlegroups.com> |
On Wed, 10 Aug 2022 11:13:16 -0700 (PDT) =?UTF-8?B?w5bDtiBUaWli?= <ootiib@hot.ee> wrote: >On Wednesday, 10 August 2022 at 11:21:32 UTC+3, Mut...@dastardlyhq.com wrote: >> On Wed, 10 Aug 2022 01:13:05 -0700 (PDT) >> =?UTF-8?B?w5bDtiBUaWli?= <oot...@hot.ee> wrote: >> >On Wednesday, 10 August 2022 at 10:55:25 UTC+3, Mut...@dastardlyhq.com >wrote: >> >> The more pertinent question is why the C++ committee felt the need to >> >> duplicate the functionality of typedef. >> > >> >That ship has sailed over decade ago and the answer was that there >> >was need to create alias-templates that typedef does not let to. >> >> And the reason typedef couldn't have been extended to do them was.... ? > >No one is capable to come out with suggestion how. Are you? >The typedef can be used by language rules something like that: > >typedef int int_t, *intp_t, (&fp)(int, ulong), arr_t[10]; > >That declares aliases int_t, intp_t, fp and arr_t. How you extend it to >declare aliases int_t<K>, intp_t<L>, fp<M> and arr_t<N> instead? Its 7 letters. Is there something magical about the 5 letters u-s-i-n-g? >> >Majority are probably indifferent ... usage of grep to find aliases might >> >feel like usage of #define to declare those. It is two levels below tools >> >that their IDEs provide with keypress or two. >> >> Clearly you've never done much serious development on *nix or had to >develop/ >> debug remotely down an ssh link. > >Majority are probably still indifferent. What I have or haven't done ever is >even less relevant to their opinion about usefulness of grep for finding >aliases >in code-base. For majority read "windows devs". I'm not interested in how they develop or what requirements they have. There was however a clear requirement for not overloading a keyword yet again with the committee ignored. >> And FWIW Eclipse is a slow steaming bug ridden POC. > >OK ... then use CLion, works fine on Linux ... I think it was less than >$200/year. Using command line tools is $0 a year.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-09 07:54 +0000
Re: initializer list type deduction rules Bo Persson <bo@bo-persson.se> - 2022-08-09 10:43 +0200
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-09 09:00 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-09 16:06 +0000
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-10 02:32 +0000
Re: initializer list type deduction rules Paavo Helde <eesnimi@osa.pri.ee> - 2022-08-10 09:11 +0300
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-10 06:57 +0000
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-10 07:31 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-10 00:40 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-10 07:55 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-10 01:13 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-10 08:21 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-10 11:13 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-12 08:26 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-12 03:38 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-12 10:48 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-12 04:54 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-12 14:34 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-12 08:34 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-12 15:57 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-12 09:16 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-13 09:35 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-13 09:44 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-14 11:12 +0000
Re: initializer list type deduction rules scott@slp53.sl.home (Scott Lurndal) - 2022-08-12 14:58 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-12 08:59 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-12 16:11 +0000
Re: initializer list type deduction rules scott@slp53.sl.home (Scott Lurndal) - 2022-08-12 16:44 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-12 12:08 -0700
Re: initializer list type deduction rules scott@slp53.sl.home (Scott Lurndal) - 2022-08-12 19:58 +0000
Re: initializer list type deduction rules Öö Tiib <ootiib@hot.ee> - 2022-08-12 16:42 -0700
Re: initializer list type deduction rules David Brown <david.brown@hesbynett.no> - 2022-08-13 18:14 +0200
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-14 11:06 +0000
Re: initializer list type deduction rules David Brown <david.brown@hesbynett.no> - 2022-08-15 11:34 +0200
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-15 19:03 +0000
Re: initializer list type deduction rules David Brown <david.brown@hesbynett.no> - 2022-08-15 21:23 +0200
Re: initializer list type deduction rules red floyd <no.spam.here@its.invalid> - 2022-08-15 13:51 -0700
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-16 19:16 +0000
Re: initializer list type deduction rules Paavo Helde <eesnimi@osa.pri.ee> - 2022-08-21 22:23 +0300
Re: initializer list type deduction rules David Brown <david.brown@hesbynett.no> - 2022-08-22 08:08 +0200
Re: initializer list type deduction rules Paavo Helde <eesnimi@osa.pri.ee> - 2022-08-22 11:37 +0300
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-22 10:23 +0000
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-11 06:24 +0000
Re: initializer list type deduction rules Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-08-11 16:37 +0100
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-11 20:12 +0000
Re: initializer list type deduction rules Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-08-12 00:09 +0100
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-12 11:51 +0000
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-12 08:29 +0000
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-12 12:08 +0000
Re: initializer list type deduction rules Muttley@dastardlyhq.com - 2022-08-12 14:37 +0000
Re: initializer list type deduction rules scott@slp53.sl.home (Scott Lurndal) - 2022-08-12 15:01 +0000
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-15 06:04 +0000
Re: initializer list type deduction rules Andrey Tarasevich <andreytarasevich@hotmail.com> - 2022-08-09 16:08 -0700
Re: initializer list type deduction rules Juha Nieminen <nospam@thanks.invalid> - 2022-08-10 02:34 +0000
csiph-web