http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
EDIT: Apologies... the only reason I asked was to contribute to the discussion, but now I realize it probably looked like I was being lazy.
I've also seen WELL512[2] mentioned in a few places, but I don't know much more about it than the name.
[1]: First introduced here: http://groups.google.com/group/comp.lang.c/msg/e3c4ea1169e46...
This thread & invite is still open to anyone who can provide further suggestions!
What is the point of this? C++ defines the null pointer to be always 0. So I never needed the NULL macro in C++ anyway, as I'm allowed to simply type 0 instead.
In how far is that new nullptr constant preferable to writing simply 0?
void f(int x);
void f(char *x);
...
f(0); // calls void f(int)
That may seem contrived, but you may not know of the f(int) overload, especially in combination with templates.NULL, if #define'd as (void *)0, prevents that error.
int execl(const char *path, const char *arg, ...);
called like so: execl("foo", "bar", 0);
Particularly when sizeof(int) != sizeof(void *).The question is, how long before I can actually use this stuff?
And we've been able to use a lot of C++0x for a while now:
This time it's different. Most of C++0x is already implemented in GCC and MSVC. However the implemented subsets are a bit different, but most of it is already there. The last time I checked, MSVC had lots of missing stuff in the standard library. In particular, threads and clocks were missing.
I've been writing C++0x with GCC for two years now.
-foreach loop
-first-class rvalue ("temporary") types
-lambda functions + closures
-implicit typing (auto keyword)
-decltype(), getting "declared type" of any expression
-variadic ... templates
-expanded STL -- incl. threading and RNG's
-construction from C-style initializer list
-Unicode literals
-enum class that doesn't auto-decay to int, enums with configurable base type
-explicit strong nullptr constant; no more NULL macro nonsense
The rest of the stuff is (in my opinion) less general/noteworthy.