12

One simple question: does anybody know a site like cplusplus.com (that has functions and headers nicely organized, includes examples(that is very important to me)) and that it is up to date(C++11).

I ask because I'm unable to find any site like that. Also I can't understand the c++ standard PDF, when it comes to reading out the member functions and stuff like that.

Also googling for specific stuff is often useless (If you don't believe me try to find some atomic header examples).

Xeo
  • 129,499
  • 52
  • 291
  • 397
NoSenseEtAl
  • 28,205
  • 28
  • 128
  • 277
  • 3
    I'm reasonably certain no such thing exists **yet**. – Jerry Coffin Apr 14 '11 at 13:35
  • Not many people are comfortable reading the Standard itself. It wasn't really meant to be read by most programmers. – David Thornley Apr 14 '11 at 13:37
  • I'd say wikipedia is probably the best you'll get for now: http://en.wikipedia.org/wiki/C%2B%2B0x – Necrolis Apr 14 '11 at 13:41
  • Thank you for the answers @Necrolis-tnx, but like I said there are no atomic examples, but yeah it's the best thing available AFAIK – NoSenseEtAl Apr 14 '11 at 13:46
  • Considering that the final draft was published **yesterday**, I believe Jerry Coffin is on the right track. Patience! – Bo Persson Apr 14 '11 at 18:19
  • I know, but GCC and VS already implemented a lot of stuff. I'm not complaining because that stuff is free and I have no right to "demand" anything. :) I was just wondering. Still wikipedia article is ok, but it doesn't cover everything and it's pretty basic. – NoSenseEtAl Apr 14 '11 at 18:30
  • Wikipedia has the same problem - the final document is dated 2011-04-11. **Nobody** except the editor and his review committee has seen the result until **this week**. Now we only have to read the 1350 pages to figure out what C++11 really looks like. Guess Wikipedia will be corrected during this weekend! Or maybe next week? :-) – Bo Persson Apr 14 '11 at 20:32

3 Answers3

21

cppreference.com is a great reference for C++03.

It's getting pretty comprehensive in C++11 features these days. It doesn't have total coverage of everything, but it's getting pretty close.

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
deft_code
  • 57,255
  • 29
  • 141
  • 224
  • 6
    I second this, the C++11 information has also increased a lot recently. I've contributed some things myself. – Ricky65 Oct 29 '11 at 18:24
5

I surveyed the msdn documentation Ashot refers to. I thought it would be interesting to note which headers are not standard in this list (are extensions), and which C++11 headers are currently missing. Here's the results:

<algorithm>
<allocators>  // not standard
<array>
<atomic>      // missing
<bitset>
<cassert>
<ccomplex>    // missing
<cctype>
<cerrno>
<cfenv>       // missing
<cfloat>
<chrono>      // missing
<ciso646>
<climits>
<clocale>
<cmath>
<codecvt>
<complex>
<condition_variable>  // missing
<csetjmp>
<csignal>
<cstdarg>
<cstdbool>     // missing
<cstddef>
<cstdint>      // missing
<cstdio>
<cstdlib>
<cstring>
<ctgmath>       // missing
<ctime>
<cvt/wbuffer>  // not standard
<cvt/wstring>  // not standard
<cwchar>
<cwctype>
<deque>
<exception>
<forward_list>
<fstream>
<functional>
<future>      // missing
<hash_map>    // not standard
<hash_set>    // not standard
<initializer_list>  // missing
<iomanip>
<ios>
<iosfwd>
<iostream>
<iso646.h>
<istream>
<iterator>
<limits>
<list>
<locale>
<map>
<memory>
<mutex>        // missing
<new>
<numeric>
<ostream>
<queue>
<random>
<ratio>        // missing
<regex>
<scoped_allocator>  // missing
<set>
<sstream>
<stack>
<stdexcept>
<streambuf>
<string>
<strstream>
<system_error>
<thread>        // missing
<tuple>
<type_traits>
<typeindex>     // missing
<unordered_map>
<unordered_set>
<utility>
<valarray>
<vector>
Howard Hinnant
  • 206,506
  • 52
  • 449
  • 577
3

I think msdn documentation can be useful for you.

It contains documentation for libraries already implemented in VS 2010.

UmmaGumma
  • 5,633
  • 1
  • 31
  • 45