Changes
Page history
Update emoji
authored
Jul 31, 2024
by
umaumax
Show whitespace changes
Inline
Side-by-side
cpp.md
View page @
fbb314fc
...
...
@@ -58,7 +58,7 @@ e.g. `void Foo(const string &in, string *out);`
上記は、
[
sewenew/redis-plus-plus: Redis client written in C++
](
https://github.com/sewenew/redis-plus-plus
)
にて活用されている
###
:fire:
directory_iterator(ファイルの走査順序は未規定)
###
`🔥`
directory_iterator(ファイルの走査順序は未規定)
*
[
directory_iterator - cpprefjp C++日本語リファレンス
](
https://cpprefjp.github.io/reference/filesystem/directory_iterator.html
)
*
[
std::directory_iterator に注意せよ
](
https://zenn.dev/enchan1207/articles/29de772131de13
)
...
...
@@ -2506,7 +2506,7 @@ called base virtual animal destructor
end
```
###
:fire:
クラスのメンバ変数はコンストラクタ引数の順序ではなく、メンバの定義順に初期化される
###
`🔥`
クラスのメンバ変数はコンストラクタ引数の順序ではなく、メンバの定義順に初期化される
```
cpp
#include
<iostream>
...
...
@@ -2552,7 +2552,7 @@ view constructor: 0x0,0x4
view constructor: 0x0,0x1987fe3ca
```
###
:fire:
C++において引数の評価順は規定されておらず、評価順によって結果が変わるコードの動作は未定義である
###
`🔥`
C++において引数の評価順は規定されておらず、評価順によって結果が変わるコードの動作は未定義である
引数で実行する関数の依存関係がなく順不同で実行されても問題がないようにすること
...
...
...
...