Site like cplusplus.com for C++11
Asked Answered
T

3

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).

Threnody answered 14/4, 2011 at 13:32 Comment(7)
I'm reasonably certain no such thing exists yet.Xanthe
Not many people are comfortable reading the Standard itself. It wasn't really meant to be read by most programmers.Masseter
I'd say wikipedia is probably the best you'll get for now: en.wikipedia.org/wiki/C%2B%2B0xGiro
Thank you for the answers @Necrolis-tnx, but like I said there are no atomic examples, but yeah it's the best thing available AFAIKThrenody
Considering that the final draft was published yesterday, I believe Jerry Coffin is on the right track. Patience!Fulvia
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.Threnody
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? :-)Fulvia
M
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>
Magnetics answered 14/4, 2011 at 19:32 Comment(1)
just for update AFAIK VS11 ships entire std library. Core language is another story though :)Threnody
S
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.

Sothena answered 14/4, 2011 at 20:0 Comment(1)
I second this, the C++11 information has also increased a lot recently. I've contributed some things myself.Adaurd
M
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>
Magnetics answered 14/4, 2011 at 19:32 Comment(1)
just for update AFAIK VS11 ships entire std library. Core language is another story though :)Threnody
C
3

I think msdn documentation can be useful for you.

It contains documentation for libraries already implemented in VS 2010.

Capitulum answered 14/4, 2011 at 19:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.