This question already has answers here:
Closed 11 years ago.
Possible Duplicates:
Modules in C++0x
why a compiler can't find a template definition in .cpp
I'm wondering if it is planned to add a Module support in C++ instead of current header system ?
I have discovered this paper : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2316.pdf
Any news on that ?
Modules aren't in the new C++0X/C++11.
See: C++ Modules - why were they removed from C++0x? Will they be back later on?
Related
This question already has answers here:
Why was getenv standardised but not setenv?
(2 answers)
Closed last month.
The C++ standard has std::getenv, but I have to fallback to C's setenv (and be hit with deprecation warnings for including <stdlib.h>).
Is there a reason for this?
Is there a reason for this?
setenv() is operating system specific POSIX function. It's not part of the C programming language standard, so it's not imported in C++ in std:: namespace.
This question already has answers here:
How to determine the version of the C++ standard used by the compiler?
(9 answers)
What do the values of the C++ "feature test macros" mean?
(1 answer)
Closed 3 months ago.
The community reviewed whether to reopen this question 3 months ago and left it closed:
Original close reason(s) were not resolved
I'm coming from a Java background and we learned to setup tests for the used java version when working with others, so everyne is using the same and to prevent conflicts.
Is there a way to test for the used standard? Likewise for language features you agreed on not using? Do you do this with a unit test?
This question already has answers here:
Why does C++ not have reflection?
(15 answers)
Closed 9 years ago.
I am currently porting a game from Cocos2d written in ObjectiveC to Cocos2d-x in C++. Now the objective C guys have used Reflection to populate modal classes from a json object. Is the same possible in C++ Can we use reflection in C++ ?
Kind Regards
As mentioned in the comments, C++ has no reflection.
The default solution is to register all the symbols that you need in an associative array, like unordered_map. Here are examples of that.
This question already has answers here:
Where do I find the current C or C++ standard documents?
(11 answers)
Closed 9 years ago.
I see often people here quoting sentences from the C++/C++11 standard drafts. I tried finding these drafts in the website open-std.org but I'm failing at understanding how the website is structured and where should I look for these documents.
Can anyone help me once and for all to find these documents so I can study them by myself (thus reducing the number of stupid questions here) ?
The latest draft is available in the left sidebar of the Standard C++ website. The LaTeX source is available on GitHub.
If you have the means and require it, you can purchase a copy of the latest published standard (ISO/IEC 14882:2011).
This question already has answers here:
Bignum libraries for windows?
(4 answers)
Closed 9 years ago.
Is there a library that can be implemented relatively easily in windows?
I made a few functions a while ago which used arrays of numbers to get the desired outcome. I might work at them when I get the time.
But is there any such feature already available that can be implemented into c++ easily?
Apparently people have had luck with using the GNU Multiple Precision Arithmetic Library for Windows.