Skip to content

Consider refactoring references into template parameters #2370

@Andersama

Description

@Andersama

Verification

  • I searched for similar issues (including closed issues) and found none was relevant.

Introduce the issue

It's possible to incorporate references to static / global variables as template parameters. Instead of building out types like HeartRateTask etc with constructors to local variables, the references could be built directly into the type.

May save a few bytes of stack space.

Preferred solution

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions