Boost logo

Boost :

Subject: Re: [boost] [ptr_container] associative container insert takes reference instead of const reference as key ?
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2018-08-29 10:52:48


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.

-T

-- 
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