c++03
How to "dereference a type" in C++03?
How do I get the \"dereferenced type\" of another type in C++03?Note that it can be other dereferenceable type like std::vector<int>::iterator.[详细]
2023-04-02 15:33 分类:问答What restrictions does ISO C++03 place on structs defined at function scope?
We\'re not allowed to define a functor struct inside a function because one is not allowed to use function declared structs in the instantiation of function templates.[详细]
2023-03-14 09:01 分类:问答sqrt() pow() fabs() do not work
i am trying to compile my program where i am using the functions like sqrt pow and fab开发者_开发问答s. I do have math.h included but for some reason i get errors like:[详细]
2023-02-24 16:00 分类:问答Can we detect empty classes in C++03? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Is there an easy way to tell if a class/struct has no data members?[详细]
2023-02-10 05:14 分类:问答Passing a member function to for_each in C++03 (no boost, no c++11)
The \"solution\" below compiles but it is not what I want. I would like to pass the put member function to for_each and not *this. Using boost is NOT an option. Can this be solved within C++03?[详细]
2023-02-03 13:46 分类:问答What's the difference in undefined behavior between C++03 and C++11?
The new standard has different undefined behavior from the old one. The new sequencing rules, for example, mean that some arithmetic operations that use开发者_运维问答d to be undefined (for such reaso[详细]
2023-01-29 13:01 分类:问答Perfect Forwarding in C++03
If you have this function template<typename T> f(T&); And then try to call it with, let\'s s开发者_高级运维ay an rvalue like[详细]
2023-01-14 01:37 分类:问答Can virtual functions have default parameters?
If I declare a base class (or interface class) and specify a default value for one or more of its parameters, do the derived classes have to specify the same defaults and if not, which defaults will m[详细]
2023-01-12 05:51 分类:问答Does "&s[0]" point to contiguous characters in a std::string?
I\'m doing some maintenance work and ran a开发者_运维百科cross something like the following: std::string s;[详细]
2022-12-15 08:59 分类:问答