Skip to content

Feat/st lib constexpr instanceof()#645

Merged
oganigl merged 3 commits into
developmentfrom
feat/ST-LIB-constexpr-instanceof()
May 11, 2026
Merged

Feat/st lib constexpr instanceof()#645
oganigl merged 3 commits into
developmentfrom
feat/ST-LIB-constexpr-instanceof()

Conversation

@FoniksFox
Copy link
Copy Markdown
Contributor

What the title says, it's just 1 keyword added, I tested it, it works no problem

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

ST-LIB Release Plan

  • Current version: 6.0.0
  • Pending changesets: 1
  • Highest requested bump: minor
  • Next version if merged now: 6.1.0

Pending changes

  • minor It is just a one word change, makes it possible to use Board::instanceof() to get a constexpr auto& obj. It works perfectly as long as you don't try using the reference before Board::init(). (.changesets/feat-stlib-constexpr-instanceof().md)

oganigl
oganigl previously approved these changes May 8, 2026
@FoniksFox FoniksFox requested a review from oganigl May 9, 2026 13:23
Copy link
Copy Markdown
Contributor

@oganigl oganigl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea

@oganigl oganigl merged commit 8835bdd into development May 11, 2026
26 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.

3 participants