Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,12 @@
|
||||
struct Buffer(Copyable, Movable):
|
||||
def __init__(out self):
|
||||
pass
|
||||
|
||||
def capacity(self) -> Int:
|
||||
return Self.size
|
||||
|
||||
|
||||
def main():
|
||||
var b = Buffer[8]()
|
||||
print("capacity:", b.capacity())
|
||||
print("size:", b.size)
|
||||
Reference in new issue
Block a user