standards-compliance
Does using std::auto_ptr data members invoke UB?
As a followup to Class containing auto_ptr stored in vector, I believe the unstated conclusion there is that it is OK to use classes with an auto_ptr member as container elements, so long as both copy[详细]
2023-01-26 08:11 分类:问答XML/XSLT/Xpath standards compliance
Our shop develops platform on which multiple core products and customer specific implementations are built. The platform has been around for 5 years and now we are trying to re-think/re-platform. As t[详细]
2023-01-24 09:00 分类:问答Using the standard OBJECT tag, how can I display a java applet with automatic prompts to install Java and with fallback content?
This is the code i\'m currently using: (note - %s is replaced on the server side) <!--[if !IE]>-->[详细]
2023-01-24 05:36 分类:问答multipart/form-data, what is the default charset for fields?
what is the default encoding one should use to decode multipart/form-data if no charset is given? RFC2388 states:[详细]
2023-01-23 11:04 分类:问答Mark some Javascript blocks as "special"
For some complicated reason, I need to mark some Javascript as \"special\", like this: <script type=\"text/javascript\" someattribute=\"special\">[详细]
2023-01-20 07:07 分类:问答GTK Widget object naming
I am writting a PyGTK application. I am using the glade interface designer for layouts. I want to know if there is any standard way of naming a Widget object.[详细]
2023-01-19 17:36 分类:问答How important is standards-compliance?
For a language like C++ the existence of a standard is a must. And good compilers try their best (well, most of the good compilers, at least) to comply. Many compilers have language extensions, some o[详细]
2023-01-19 13:15 分类:问答can the functors called from algorithms acting on a map accept pair<K, V> instead of value_type?
I tried to write a short function to invert an std::map<K, V> (I know about boost.bimap, this is for self-education), and found, to my surprise, that the code that GCC 4.4 accepted with -pedanti[详细]
2023-01-19 03:25 分类:问答How to check C source code against the current standard?
I\'m continuing to learn C and would like to adhere to whatever is the current standard, but finding a good reference t开发者_如何学运维o that seems to be problem.[详细]
2023-01-18 12:48 分类:问答Strict ISO C Conformance Test
I am currently working on a C project that needs to be fairly portable among different building environments. The project target开发者_开发问答s POSIX-compliant systems on a hosted C environment.[详细]
2023-01-10 17:17 分类:问答