C++ Logo

sg20

Advanced search

Re: [isocpp-ext] namespace composition

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Sat, 29 Apr 2023 01:35:15 +0300
On Sat, 29 Apr 2023 at 01:28, Ville Voutilainen
<ville.voutilainen_at_[hidden]> wrote:
>
> On Sat, 29 Apr 2023 at 01:23, Andrew Tomazos <andrewtomazos_at_[hidden]> wrote:
> >
> > Damn. I was hoping the AI was smarter than the creator of the programming language its written in, and we could have had some kind of watershed moment in history.
>
> The bot got it right. The vector doesn't need to be in a golliwogs
> namespace, the important part is that in the namespace that does
> a using-directive for std, there's also either a class definition or a
> user-declaration for the entity you want to be preferred over the
> std::entity.

Typo, should be "using-declaration", of course.

Received on 2023-04-28 22:35:27