Status: New
Owner: ----

New issue 3669 by [email protected]: UniquePersistent const/non-const copy constructor v8.h
https://code.google.com/p/v8/issues/detail?id=3669

Using UniquePersistent in a std::map in C++11 causes a compiler error in both gcc and llvm.

"The parameter for this explicitly-defaulted copy constructor is const,
but a member or base requires it to be non-const"

I am not very up to date on the changes for C++11 and move schematics. It seems that changing the copy constructor declaration in v8.h from:

UniquePersistent(UniquePersistent&);

to

UniquePersistent(const UniquePersistent&);

Remedies the compiler error, but I can't promise that's the proper solution

See also: https://github.com/deanm/plask/issues/29

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to