HackerTrans
トップ新着トレンドコメント過去質問紹介求人

rovingeye

no profile record

コメント

rovingeye
·5 か月前·議論
it's literally the exact same thing. We use trailing return types to be consistent across the language.
rovingeye
·5 か月前·議論
This has been valid C++ since C++ 11
rovingeye
·7 か月前·議論
It looks like you missed the part where you "move the context into the lambda body via capture specifier."
rovingeye
·7 か月前·議論
Consistency (lambdas, etc.)
rovingeye
·7 か月前·議論
All my window classes uses cbWndExtra, and I leave GWLP_USERDATA for the user who is creating windows.
rovingeye
·7 か月前·議論
That doesn't sound like a valid wndproc
rovingeye
·7 か月前·議論
I assume by "move the context into the body" you mean using GetWindowLongPtr? Why not just use a static wndproc at that point?
rovingeye
·7 か月前·議論
I wasn't aware of the thread local trick, I solve this problem by not setting WS_VISIBLE and calling SetWindowPos & ShowWindow after CreateWindow returns (this solves some other problems as well..)
rovingeye
·8 か月前·議論
I have that turned on in Windows Terminal but still use ctrl+c because it's how all other software works
rovingeye
·9 か月前·議論
The windowing is pretty broken if you use system scaling https://github.com/zed-industries/zed/issues/40272
rovingeye
·9 か月前·議論
Thanks for the info. Looks like they're using /silent right there in the example

"Steam customers love a quick and silent install. Add silent or quiet parameters to all run process commands and only add what you absolutely need for the game."
rovingeye
·9 か月前·議論
MicrosoftEdgeWebview2Setup.exe /silent /install