Skip to content

Enhancement/Suggestion: Ability to Declare new Operators #11943

Closed as not planned
@brdane

Description

@brdane

Although such feature isn't within standard C++ standards, it would be useful to programmers to incorporate their own user-defined operators. For example, if a programmer wanted to create an operator to check if a number is between two other numbers, then psuedo-code for that would look like the following:

if (3 between 0 5)
DoSomething();

Metadata

Metadata

Assignees

Labels

Component: CompilationRelated to compilation of Arduino sketchesComponent: PreprocessorThe Arduino sketch preprocessor converts .ino files into C++ code before compilationType: WontfixArduino has decided that it will not resolve the reported issue or implement the requested featurefeature requestA request to make an enhancement (not a bug fix)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions