一時オブジェクト
「一時オブジェクト」を扱った11問。日付を開くと、その日のドリルがそのまま読めます。日付の横の動物は難易度で、ハリネズミ・孔雀・バイソン・クジラの順に重くなります。
- Rust / DEBUG · 2026-11-02 文の終わりまで残る借用 RefCell, 二重借用, 一時オブジェクトの寿命, BorrowMutError, already borrowed, temporary lifetime, arena allocation
- Rust / DEBUG · 2026-10-07 借りたまま再帰する RefCellの二重借用, matchの一時値の寿命, メモ化再帰, BorrowMutError, RefCell already borrowed, temporary lifetime in match
- Rust / READ · 2026-09-26 ロックはいつ外れるか MutexGuard, 一時値の寿命, if letのスコープ, Rust 2024, 確認と使用の間, temporary lifetime, if let rescope, TOCTOU
- C++ / WRITE · 2026-09-20 一時値をconst参照に 寿命延長, const参照, 一時オブジェクト, lifetime extension
- C++ / READ · 2026-09-20 一時オブジェクトの寿命 寿命延長, 一時オブジェクト, const参照, temporary lifetime
- C++ / DEBUG · 2026-09-20 一時値への参照を返す ダングリング参照, 一時オブジェクト, 戻り値, dangling reference
- Rust / DEBUG · 2026-09-14 while letの一時値 一時オブジェクト, while let, 寿命, temporary lifetime
- C++ / READ · 2026-09-14 範囲forと一時オブジェクト 範囲for, 一時オブジェクト, ダングリング, range-based for
- C++ / DEBUG · 2026-09-14 mapの要素型 value_type, const参照, 一時オブジェクト, map iteration
- C++ / DEBUG · 2026-09-07 参照メンバと一時値 参照メンバ, 一時オブジェクト, ダングリング, dangling reference
- C++ / READ · 2026-08-24 const参照と寿命延長 寿命延長, const参照, 一時オブジェクト, lifetime extension