| -----Original Message----- | From: Ville Voutilainen <[email protected]> | Sent: Monday, June 8, 2020 3:17 PM | To: Gabriel Dos Reis <[email protected]> | Cc: Richard Smith <[email protected]>; [email protected]; Marek | Polacek <[email protected]>; [email protected] | 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 <[email protected]> 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 mailing list [email protected] https://lists.isocpp.org/mailman/listinfo.cgi/sg10
