std::make_unique<TForm>(Application)->ShowModal();
if(std::make_unique<TForm>(Application)->ShowModal() == mrOk)
sb_refreshClick(Sender);
make_unique<>
является prvalue: https://en.cppreference.com/w/cpp/language/value_c... prvalue: a function call or an overloaded operator expression, whose return type is non-reference
Temporary objects are created ... in the following situations:
when performing member access on a class prvalue.
All temporary objects are destroyed as the last step in evaluating the full-expression