Also gamers when any scene at any point has less than 500000 polygons and UINT32_MAX particles, each with its own material
Sonotsugipaa
Oh, std::enable_if
is straight up worse, they're unreadable and don't work when two function overloads (idk about variables) have the same signature.
I'm not even sure enable_if can do something that constraints can't at all...
I imagine reflections would make the process more straightforward, requires expressions are powerful but either somewhat verbose or possibly incomplete.
For instance, in your example foo
could have any of the following declarations in a class:
void foo();
int foo() const;
template <typename T> foo(T = { }) &&;
decltype([]() { }) foo;
No, that's Vim
Spaces between paragraphs should work, you have to use two new lines for them.
They seem to work on my instance's web interface and on Jerboa...
Tip:
you can replace your periods with three dashes to get a horizontal separator, which I think is what you were going for. It's markdown syntax, it should work for most clients.
Huh, the 3 letters on the right seem to use a different font, I wonder why that may be...
Yeah, that's what I was thinking of. I don't know how C++ could reasonably have Java-like reflections anyway...
Wouldn't compilers be able to optimize runtime things out? I know that GCC does so for some basic RTTI things, when types are known at compile time.
I can see the footguns, but I can also see the huge QoL improvement - no more std::enable_if
spam to check if a class type has a member, if you can just check for them.
... at least I hope it would be less ugly than std::enable_if
.
With how Halo has been rammed into the ground, Halo vs. Copilot is a fair fight
You can set some browser-unrelated program or script as your desktop environment's default browser, for example I wrote a Zsh script that creates a KDE dialog and asks me to copy the URL to the clipboard.
I'm not currently at my PC, but if you want it I can paste it in a comment here when I get to it - it shouldn't be too hard to translate it to Bash, either.
Other than that?
/usr/bin/true
is a pretty nice default browser for applications to start without your consent, very minimal and lightweight.