Skip to content

Conversation

@safocl
Copy link

@safocl safocl commented Jul 9, 2025

Description

Add constexpr specifier for methods (and constructors) of commonly used types.

Related

Testing

constexpr idf::Frequency f1 = idf::Frequency::Hz(200);
constexpr idf::Frequency f2 = std::clamp(f1, idf::Frequency::Hz(20), idf::Frequency::Hz(2000));

Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

@CLAassistant
Copy link

CLAassistant commented Jul 9, 2025

CLA assistant check
All committers have signed the CLA.

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