C++ Logo

SG10

Advanced search

Subject: Re: [isocpp-core] Feature-test macro for ADL calls with template arguments?
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2020-06-08 18:03:40




| -----Original Message-----
| From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
| Sent: Monday, June 8, 2020 3:17 PM
| To: Gabriel Dos Reis <gdr_at_[hidden]>
| Cc: Richard Smith <richardsmith_at_[hidden]>; sg10_at_[hidden]; Marek
| Polacek <polacek_at_[hidden]>; core_at_[hidden]
| Subject: Re: [SG10] [isocpp-core] Feature-test macro for ADL calls with
| template arguments?
|
| On Tue, 9 Jun 2020 at 00:48, Gabriel Dos Reis <gdr_at_[hidden]> wrote:
| > | All we want is to be able to write QPair<What, Ever> qp; get<1>(qp);
| > |
| > | I don't know what that "somewhere" would be, nor do I know why I'd
| > | write a using-declaration for somewhere::get.
| >
| > For the configuration of Qt that does not use namespaces, there is no
| "somewhere"; name lookup just finds it.
|
| Sure. And now we want to make it ADL-only, so that it's found only
| when it's applied to the right thing.

Which means you have "somewhere"...

|
| Any other questions, before we just add the macro?

Yes, which document would that apply to? 😊
The one voted out of Prague, that some compilers are close to declaring conformance to? Or just the SD?

-- Gaby


SG10 list run by sg10-owner@lists.isocpp.org