一个简单的问题:有没有人知道类似于 cplusplus.com 的网站(可以很好地组织函数和头文件,并包含示例(这对我非常重要)),并且它是更新到 C++11 的。
我问这个问题是因为我找不到任何类似的网站。当涉及到查阅成员函数等内容时,我也看不懂 C++ 标准 PDF。
此外,用谷歌搜索特定的东西通常是无用的(如果你不相信我,请试着找一些原子头文件的示例)。
一个简单的问题:有没有人知道类似于 cplusplus.com 的网站(可以很好地组织函数和头文件,并包含示例(这对我非常重要)),并且它是更新到 C++11 的。
我问这个问题是因为我找不到任何类似的网站。当涉及到查阅成员函数等内容时,我也看不懂 C++ 标准 PDF。
此外,用谷歌搜索特定的东西通常是无用的(如果你不相信我,请试着找一些原子头文件的示例)。
cppreference.com 是一个很棒的C++03参考资料。
如今,它已经相当全面地涵盖了C++11的特性。虽然它没有完全覆盖所有内容,但已经非常接近了。
我调查了Ashot提到的msdn文档。我认为记录一下这个列表中不是标准的头文件(扩展)和当前缺少哪些C++11头文件会很有趣。以下是结果:
<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>