Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #68508
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: Conversion operator to pointer-to-array |
| Date | Wed, 18 Sep 2019 08:58:30 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 11 |
| Message-ID | <86y2yl38bd.fsf@linuxsc.com> (permalink) |
| References | <qlsmr8$235h$2@adenine.netfront.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Info | reader02.eternal-september.org; posting-host="d7421874ff1696044f351dbc5e408957"; logging-data="28854"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19n1dsU+Xjr6GmR4WEDjk9u2kIxeDnvYqc=" |
| User-Agent | Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) |
| Cancel-Lock | sha1:gq1DSm179+dtk5LYxP4xAvGzWI4= sha1:G/I2feA9fDW+0RE/MYyi0bwIdhM= |
| Xref | csiph.com comp.lang.c++:68508 |
Show key headers only | View raw
Juha Nieminen <nospam@thanks.invalid> writes:
> Is there a way to express this without using the type alias?
>
> struct S
> {
> using DArray4 = double(*)[4];
> operator DArray4() { return nullptr; }
> };
There is.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Conversion operator to pointer-to-array Juha Nieminen <nospam@thanks.invalid> - 2019-09-18 07:37 +0000
Re: Conversion operator to pointer-to-array Tim Rentsch <tr.17687@z991.linuxsc.com> - 2019-09-18 08:58 -0700
Re: Conversion operator to pointer-to-array Öö Tiib <ootiib@hot.ee> - 2019-09-18 09:32 -0700
Re: Conversion operator to pointer-to-array Frederick Gotham <cauldwell.thomas@gmail.com> - 2019-09-26 00:12 -0700
Re: Conversion operator to pointer-to-array Juha Nieminen <nospam@thanks.invalid> - 2019-09-26 08:39 +0000
Re: Conversion operator to pointer-to-array Manfred <noname@add.invalid> - 2019-09-26 16:34 +0200
csiph-web