Skip to content

C++17 and random stuff#364

Merged
texus merged 7 commits into
texus:1.xfrom
jjuhl:C++17-and-random-stuff
May 14, 2026
Merged

C++17 and random stuff#364
texus merged 7 commits into
texus:1.xfrom
jjuhl:C++17-and-random-stuff

Conversation

@jjuhl
Copy link
Copy Markdown
Contributor

@jjuhl jjuhl commented May 14, 2026

No description provided.

jjuhl added 7 commits May 14, 2026 15:21
Commit 2b49922 should not have added it.
Take advantage of the fact that in C++17 we can do initialization in
if statements. This is A) shorter. B) reduces the scope of the
variable to the body of the if statement.

Follow up to commit 2b49922
I was not aware of the macro and the ability to turn off deprecation
warnings until now. But now that I know, let's use it instead of plain
[[deprecated]].
@texus texus merged commit ccb67f9 into texus:1.x May 14, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants