Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #83585

Re: ambiguous reference to 'find' in std and std::ranges namespaces

From Bo Persson <bo@bo-persson.se>
Newsgroups comp.lang.c++
Subject Re: ambiguous reference to 'find' in std and std::ranges namespaces
Date 2022-04-14 18:30 +0200
Message-ID <jbr0glFo4ogU1@mid.individual.net> (permalink)
References (3 earlier) <t36j5k$10a3$2@gioia.aioe.org> <t38aik$me1$1@dont-email.me> <t38gk5$lev$1@dont-email.me> <jbqehlFko73U1@mid.individual.net> <t397pk$v77$1@dont-email.me>

Show all headers | View raw


On 2022-04-14 at 15:32, Paavo Helde wrote:
> 14.04.2022 14:23 Bo Persson kirjutas:
> 
>>
>> The niebloids suppress ADL by not being functions. Only functions have 
>> overloads to be resolved.
> 
> Yes, the OP problems are because niebloids are not functions. The 
> question is whether this is an implementation artifact or is this 
> inevitable?
> 
> IOW, if niebloids were implemented as "functions without ADL" by a 
> compiler extension, would this be standard compliant and would this 
> solve OP problems?

Who knows what an extension would do?  :-)

However, the problem here isn't ADL but that std::find is found 
*without* using ADL. It is just visible anyway, due to the "using".

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ambiguous reference to 'find' in std and std::ranges namespaces Ralf Goertz <me@myprovider.invalid> - 2022-04-13 09:58 +0200
  Re: ambiguous reference to 'find' in std and std::ranges namespaces Paavo Helde <eesnimi@osa.pri.ee> - 2022-04-13 14:27 +0300
    Re: ambiguous reference to 'find' in std and std::ranges namespaces Bo Persson <bo@bo-persson.se> - 2022-04-13 14:21 +0200
      Re: ambiguous reference to 'find' in std and std::ranges namespaces Paavo Helde <eesnimi@osa.pri.ee> - 2022-04-13 15:31 +0300
    Re: ambiguous reference to 'find' in std and std::ranges namespaces Juha Nieminen <nospam@thanks.invalid> - 2022-04-13 13:26 +0000
      Re: ambiguous reference to 'find' in std and std::ranges namespaces Juha Nieminen <nospam@thanks.invalid> - 2022-04-13 13:28 +0000
        Re: ambiguous reference to 'find' in std and std::ranges namespaces Paavo Helde <eesnimi@osa.pri.ee> - 2022-04-13 17:26 +0300
        Re: ambiguous reference to 'find' in std and std::ranges namespaces Christian Gollwitzer <auriocus@gmx.de> - 2022-04-14 07:13 +0200
          Re: ambiguous reference to 'find' in std and std::ranges namespaces Ralf Goertz <me@myprovider.invalid> - 2022-04-14 08:57 +0200
            Re: ambiguous reference to 'find' in std and std::ranges namespaces Bo Persson <bo@bo-persson.se> - 2022-04-14 13:23 +0200
              Re: ambiguous reference to 'find' in std and std::ranges namespaces Paavo Helde <eesnimi@osa.pri.ee> - 2022-04-14 16:32 +0300
                Re: ambiguous reference to 'find' in std and std::ranges namespaces Bo Persson <bo@bo-persson.se> - 2022-04-14 18:30 +0200
              Re: ambiguous reference to 'find' in std and std::ranges namespaces Ralf Goertz <me@myprovider.invalid> - 2022-04-15 10:14 +0200
            Re: ambiguous reference to 'find' in std and std::ranges namespaces Manfred <noname@add.invalid> - 2022-04-14 15:02 +0200
  Re: ambiguous reference to 'find' in std and std::ranges namespaces Christian Hanné <the.hanne@gmail.com> - 2022-04-15 14:39 +0200

csiph-web