Added basic method parameter handling

This commit is contained in:
Bartek Kryza
2021-03-18 19:58:27 +01:00
parent bffaa0a7d9
commit fcafef4b85
4 changed files with 81 additions and 3 deletions

View File

@@ -15,6 +15,9 @@ public:
void const_method() const {}
auto auto_method() { return 1; }
auto double_int(const int i) { return 2 * i; }
auto sum(const double a, const double b) { return a + b; }
int public_member;
static int static_int;
static const int static_const_int = 1;