Jump to content

Talk:C++11

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Incorrect example for regular expression.

[edit]

It seems to be incorrect.

Fixed. 2022 Dec 9 — Preceding unsigned comment added by Basilmozzarella (talkcontribs) 01:07, 10 December 2022 (UTC)[reply]

Pseudorandom number generation looks incorrect

[edit]

uniform_real_distribution is misleading. It links to a general discussion of uniform distributions, in which x is generated as a <= x <= b. But the C++ implementation provides a <= x < b, which is more in line with what programmers expect. This sent me searching for another (nonexistent) option in C++ to provide < b. I didn't change the page but I think someone may want to check this out. — Preceding unsigned comment added by 149.32.192.41 (talk) 15:24, 25 June 2018 (UTC)[reply]

global std::begin and std::end not described

[edit]

https://en.cppreference.com/w/cpp/iterator/begin - since C++11 (accompanied with std::cbegin and std::cend in C++14) — Preceding unsigned comment added by Asashnov (talkcontribs) 15:56, 14 December 2022 (UTC)[reply]

Inaccurate or incomplete citation of Sutter & Alexandrescu 2005

[edit]

Citation 10 reads "Sutter, Alexandrescu 'C++ coding standards' #15", and is placed in a section describing C++03 loopholes that were the historical context for C++11's "Rvalue references and move constructors" feature. However, in my copy of "C++ Coding Standards: 101 Rules, Guidelines, and Best Practices" (from 2005, ISBN 0-321-11358-6), item 15 does not relate to this topic. 24.19.128.219 (talk) 21:43, 22 October 2024 (UTC)[reply]