Maxim Yegorushkin
11/12/2008 11:00:00 AM
On Nov 11, 12:53 pm, Felipe Farinon <Felipe.Fari...@gmail.com> wrote:
> 1) I was wordering why the reference_wrapper’s [1] constructor is
> explicit. For me it seens to be more useful wihout it.
I could not find an explanation, my only speculation is that it is
made explicit so as to protect from inadvertently creating long-lived
references to short-lived data, i.e. dangling references.
--
Max