Import std.core.interfaces
Defaultable
interface
Public Interface Defaultable
What has a value to start from, for generic code that needs one: the numbers' is 0, Bool's False, String's "", an Enum's its zero, its first value or a @Flags Enum's no flags, and std's collections' is empty. It's DefaultValue, since Default is Select's keyword.
std/core/interfaces.fb, line 123
-
The value to start from, like 0 for a number, "" for a String, or an empty collection.
Report an issue with this page or with FutureBlitz on GitHub.