On Fri, Mar 26, 2021 at 8:34 AM Corentin via SG10 <[email protected]> wrote:
> Hello, > > I was tasked yesterday's EWG meeting to reach you about a feature macro > for P2128, > which does not currently provide one. > > I suppose there are 2 questions: > Do we need one? > > I can't really imagine people doing > > #ifdef __cpp_multidimensional_subscript > foo[x, y] > #else > foo(x,y) > #endif > > Or something of the sort. > > If we do need one, would __cpp_multidimensional_subscript be a > satisfactory name? > > Thanks, > > Corentin > I could imagine a *type* providing a operator[](Args...) only if that's possible, so I do think we need one. I have no comment about the name. Barry
-- SG10 mailing list [email protected] https://lists.isocpp.org/mailman/listinfo.cgi/sg10
