mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-25 08:13:29 +03:00
Merge branch 'master' of https://github.com/NickPapanastasiou/learnxinyminutes-docs
This commit is contained in:
commit
b0859afe7f
@ -133,13 +133,6 @@ getter and setter methods (`object.setX(7)`)!
|
||||
|
||||
```d
|
||||
// Consider a class parameterized on a types T, U
|
||||
|
||||
class MyClass(T, U) {
|
||||
T _data;
|
||||
U _other;
|
||||
|
||||
}
|
||||
|
||||
// And "getter" and "setter" methods like so
|
||||
class MyClass(T, U) {
|
||||
T _data;
|
||||
|
Loading…
Reference in New Issue
Block a user