C++ B~ starPR
** C++ C++** C++
C++!
C++
guangcity
C++ C++ C++ ->
~
</th>
<th align="center" style="height=200 width="200">
<img src="./img/wechat.jpg" height="200" width="200" ><br>
</th>
</tr>
dockerpull
docker pull xingfranics/cplusplusthings:latest
STLcondition_variablecondition_variable_any
const
static
this
inline
sizeof
vptr_vtable
virtual
volatile
assert
extern
struct
struct
class
union
c
c++
explicit
friend
using
::
enum
decltype
C++2.0 C++ C++11/14/17/20
Spaces in Template Expressions
vector<list<int> > //ok in each C++ version
vector<list<int>> // before c++ 11 error error: >> should be > > within a nested template argument list,c++11
for(decl:col) {
statement
}
ctor
, default ctor
=default
, default ctor
.
Alias() Template (template typedef)
(1) array
(C++2.0 ),vector
,deque
,list
,forward_list
(C++2.0 )
(2) set/multiset
,map/multimap
(3) (C++2.0 , hash_xxx
unordered_xxx
)unordered_map/unordered_multimap,unordered_set/unordered_multiset
https://www.bilibili.com/video/av51863195?from=search&seid=3610634846288253061
...
STL gcc 4.9.1
https://downdemo.gitbook.io/cpp-concurrency-in-action-2ed/
https://www.youtube.com/watch?v=eZ8yKZo-PGw&list=PLk6CEY9XxSIAeK-EAh3hB4fgNvYkYmghp&index=4
map<int, int> mp{
{1, 1},
{2, 4},
{3, 9}};
cout << mp << endl;
{ 1 => 1, 2 => 4, 3 => 9 }
https://github.com/Light-City | |
ChungZH | https://github.com/ChungZH |
xliu79 | https://github.com/xliu79 |