User profile: Peter87

User info
User name:Peter87
Website:http://dataapa.net/
History
Joined:
Number of posts:11240
Latest posts:

Should the subscript "opt" be dropped in the definition of "array of N T" in the standard?
I think you might be right. It seems like a left-over from C++17 where it used one form to describe ...

Which item stipulates that A() is a prvalue?
I suspect so, but cppreference.com is not the official specification so it's possible that its expla...

Template errors creating a map<int,std::thread> using map::emplace
I think the problem is that std::thread will copy the arguments by default but std::mutex is not cop...

Are these ternary operators the same?
[quote]modulo and boolean logic for a bit operation is clunky ... a&1 is true for odd[/quote] Checki...

Are these ternary operators the same?
The [i]condition[/i] (left side of the [b]?[/b]) is different. [code](a % 2 == 0)[/code] is true wh...