Questions tagged «copy-on-write»


7
C ++ 11中COW std :: string实现的合法性
据我了解,写时复制不是std::string在C ++ 11中实现符合性的可行方法,但是最近在讨论中出现时,我发现自己无法直接支持该声明。 我是否正确C ++ 11不允许基于COW的实现std::string? 如果是这样,此限制是否在新标准的某处(何处)明确说明? 或暗示此限制,是因为新要求的综合影响std::string使不能基于COW的实现std::string。在这种情况下,我会对“ C ++ 11有效禁止基于COW的std::string实现” 一章和诗句样式的衍生感兴趣。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.