Subject: Re: [boost] [ptr_container] associative container insert takes reference instead of const reference as key ?
From: comic fans (comicfans44_at_[hidden])
Date: 2018-08-30 00:59:01
ok, I may take a try
On Wed, Aug 29, 2018 at 6:52 PM Thorsten Ottosen <tottosen_at_[hidden]> wrote:
> Den 29-08-2018 kl. 12:10 skrev comic fans:
> > Thanks for the explanation, but if Key is POD type, we still can not
> > using const reference ?
> yeah, I guess one could put an overload via enable_if if the
> copy-constructor was noexcept.
> Best regards,
> Thorsten JÃ¸rgen Ottosen, Ph.D.
> Director of Research
> +45 23308797
> Dezide (www.dezide.com)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk