flagset icon indicating copy to clipboard operation
flagset copied to clipboard

[Feature]: Add a FlagSet::empty() method

Open jalil-salame opened this issue 4 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

Add a FlagSet::empty() -> Self method that returns an empty set.

This is more clear about the behavior/expected behavior than FlagSet::default(). I could imagine a FlagSet::default() implementation that returns a set with a predefined number of flags set.

Acceptance Criteria

Having a FlagSet::empty() method.

Suggestions for a technical implementation

Forward to the FlagSet::default() implementation.

jalil-salame avatar Sep 24 '24 13:09 jalil-salame