The PImpl idiom and the C++26 std::indirect type

7 points by raymii


trenchant

Never null: it always holds a value, except in the moved-from state (but features a member function called valueless_after_move() that lets you check the state).

Oh, C++