Exception Handling in Qt

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 2

  • @Eugene-rq8kr
    @Eugene-rq8kr ปีที่แล้ว

    Why does Rust not support exceptions?

  • @kuhluhOG
    @kuhluhOG ปีที่แล้ว

    15:12 Btw, I copied the code but put a "vec.resize(2);" right after the declaration.
    As such vec is forced to resize when you push_back d.
    On my machine I have a vec size of 4 afterwards.
    Same thing happens with std::vector.