C++ Logo


Advanced search

Subject: Re: Member function, using, and ADL
From: Yongwei Wu (wuyongwei_at_[hidden])
Date: 2021-05-29 21:53:02

On Sun, 30 May 2021 at 00:14, Edward Catmur <ecatmur_at_[hidden]> wrote:

> That is, the point of "using std::swap;" is twofold; it both hides any
> class member "swap", and makes "std::swap" available

Truncate your sentence a bit, and it is totally to the point! I missed the
"hides" part. Thank you.

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups