- Wikipedia / C++11
-
cpprefjp - C++ Library Reference - cpprefjp - C++ Library Reference
- cplusplus.com
- cppreference.com
- C34 / C++ Technical Documents επιστημη氏
- MYCOM / 2011-11-04: C++11のコーディング変更点まとめ
- libjingu / 翻訳文書
- 本の虫
- github / EzoeRyou / cpp-book
- TechRacho / yoshi
- 2016-12-20: [C++] イテレーターを作る【BPS Advent Calendar: 12/20】
- 2018-03-05: C++: コンパイル時テストのススメ
- 2019-10-30: イマドキの C++erが覚えておくべき便利なWebサービス7選
- 2018-12-21: C++2a で「クリスマスまであと何日」を表示する
- University of Victoria / Department of Electrical and Computer Engineering / Michael Adams / Programming in C++ — The C++ Language, Libraries, Tools, and Other Topics
- Fixstars Tech Blog /proc/cpuinfo / 2017-10-10: C++技法:部分特殊化された非型実引数でも、部分特殊化のテンプレート仮引数を使った演算をする
脳神経外科でも受診して来ようかな orz
gcc に -fsanitize=address 付けとくと address sanitizer が有効になるらしい。
これすごい便利じゃん。
address, thread, memory, undefined-behavior, leak と 5 つの sanitizer が使えるらしい。(memory は clang のみ?)
ネタ元:
$ g++ -fsanitize=address memory_leak.cpp && ./a.out Hello, World! ================================================================= ==11538==ERROR: LeakSanitizer: detected memory leaks Direct leak of 1024 byte(s) in 1 object(s) allocated from: #0 0x7f42a7d0f618 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0618) #1 0x55a6a261bd0b in main (/tmp/a.out+0xd0b) #2 0x7f42a74d6b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) SUMMARY: AddressSanitizer: 1024 byte(s) leaked in 1 allocation(s).セグったりリークしてる原因が一目瞭然。
これすごい便利じゃん。
address, thread, memory, undefined-behavior, leak と 5 つの sanitizer が使えるらしい。(memory は clang のみ?)
ネタ元:
- University of Victoria / Department of Electrical and Computer Engineering / Michael Adams / Programming in C++ — The C++ Language, Libraries, Tools, and Other Topics # Section 7.2 Code Sanitizer
タグ
コメントをかく