How about:
bool maximized = PluginAdapter::Default()->MaximizeIfBigEnough(window); if (!maximized)
I find this easier to read, and the compiler will optimise the temporary out.
« Back to merge proposal
How about:
bool maximized = PluginAdapter: :Default( )->MaximizeIfBi gEnough( window) ;
if (!maximized)
I find this easier to read, and the compiler will optimise the temporary out.