standards-compliance
Are friends supposed to be transitive in nested classes?
class private_object { private: struct make_public; friend struct make_public; static void method1() {} }; struct private_object::make_public[详细]
2023-03-14 18:30 分类:问答Are uninitialized pointers in objects with static storage duration initialized to NULL, or to all-zeros?
out of curiousity and because I don\'t have my copy of the standard at hand right now: Given an implementation where null pointers are not represented by an all-zeros pattern, will uninitialized poin[详细]
2023-03-10 23:08 分类:问答Is this a standards-compliant result?
Here\'s my code: <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">[详细]
2023-03-10 19:35 分类:问答What's the status of std::vector::data()?
I just realized that I\'ve been using std::vector::data() out of similarity with std::string, but a colleague pointed out that it\'s not standard.[详细]
2023-03-09 19:10 分类:问答Why is destructor of boost::thread detaching joinable thread instead of calling terminate() as standard suggests?
According to the draft C++0x standard, this code: void simplethread() { boost::thread t(someLongRunningFunction);[详细]
2023-03-02 06:00 分类:问答would the pointer returned by new(size, value) Type[0] be legal and could it be used to build an array?
The standard says, in 5.3.4[expr.new]/7 When the value of the expression in a direct-new-declarator is zero, the allocation function is called to allocate an array with no elements.[详细]
2023-02-22 21:17 分类:问答C externs that alias the same address?
Can a C compiler assume that two different extern globals cannot be aliased to the same address? In my case, I have a situation like this:[详细]
2023-02-22 02:34 分类:问答Can a compliant Java implementation not contain all the standard libraries?
I\'m working on writing an implementation of the JVM in JavaScript, which means writing a lot of native code for the standard libraries in JavaScript.However, there are a huge number of classes in the[详细]
2023-02-19 20:52 分类:问答<!DOCTYPE html> and older browsers
Does <!DOCTYPE html> 开发者_运维技巧trigger standards mode for older browsers as well? Saying \"in all modern browsers\" isn\'t very precise.[详细]
2023-02-18 01:41 分类:问答Sharepoint 2007 and <!DOCTYPE html>
Greetings... I\'m trying to get my Sharepoint 2007 site to render in Standards mode when browsing in IE.[详细]
2023-02-14 04:28 分类:问答