Issue 48: v8 code is not const-correct. http://code.google.com/p/v8/issues/detail?id=48
New issue report by [EMAIL PROTECTED]: The v8 Code ist not const-correct. At least the API should provide const-correct behaviour or else it is hard to use it with any good C++ code. e.g. virtual int ScriptData::Length() = 0; should be virtual int ScriptData::Length() const = 0; (actually std::size_t and not int. But this is another issue!) You should use const because it generally leads to safer code and it is easier to be used in other C++ projects. See http://www.gotw.ca/gotw/006.htm . Issue attributes: Status: New Owner: ---- -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---