Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

Static Class Functions #53

Open
AjaniBilby opened this issue Sep 3, 2020 · 0 comments
Open

Static Class Functions #53

AjaniBilby opened this issue Sep 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@AjaniBilby
Copy link
Member

class Car {
  static:
     Car from(Vehicle vec) {
       // this is not defined
     }
}

int main() {
  Vehicle v;
  Car.from(t);
}
@AjaniBilby AjaniBilby added the enhancement New feature or request label Sep 3, 2020
@AjaniBilby AjaniBilby added this to the Class Behavior milestone Sep 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant