Is this a common language for C++ proposals? "Horrible, terrible, terrifying, disgusted", you'd think this is describing Lexur'iga-serr'roth and not main(). http://open-std.org/JTC1/SC22/WG21/docs/papers/2017/p0781r0.html …
-
-
Replying to @aras_p
Modern C++ proposals are generally indistinguishable from satire.
8 replies 29 retweets 101 likes -
So, these new proposals infect user code with a mandatory library? And it’s named “std”?
4 replies 0 retweets 7 likes -
Replying to @TimSweeneyEpic @TobiasBerghoff and
Imagine parsing command-line options without random access on the array.. the whole thing really sound like satire indeed. Dangerous well-intending people..
1 reply 1 retweet 1 like -
Replying to @ocornut @TimSweeneyEpic and
why does std::initializer_list not have random access?! that's inconvenient..
2 replies 0 retweets 0 likes -
Replying to @Doomed_Daniel @ocornut and
What is std::initializer_list even? The spec describes it as some mystical thing that can’t be expressed by mere mortals.
1 reply 0 retweets 2 likes -
Replying to @TimSweeneyEpic @ocornut and
void fun(std::initializer_list<int> args) { for(int i : args) { printf("%d ", i); } } fun({1,2,3}); fun({42}); in contrast to std::vector or whatever it AFAIK doesn't usually heap-allocate in contrast to varargs its typesafe (but limited to one type)
1 reply 0 retweets 0 likes -
Replying to @Doomed_Daniel @TimSweeneyEpic and
in contrast to variadic template arguments (template<typename... Args>void fun(Args... args) { ... }) it doesn't have the template bloat for each usage of the function
2 replies 0 retweets 0 likes
I want that as a language feature, not an otherwise inexpressible construct that must be imported from s.t.d.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.