• ;ͨͭΊɺ֨ೲ͍ͯ͠ΔͷϙΠϯλʢ̎ʣ • iTable̎ͭͷσʔλߏ͔ΒΓཱ͍ͬͯ·͢ • ֨ೲ͍ͯ͠Δͷܕใʢ̍ʣ • ʹଐ͍ͯ͠ΔϝιουͷϦετ • ͜ͷܕใʢ̍ʣͱϙΠϯλʔʢ̎ʣ͕InterfaceͱΛbind͍ͯ͠·͢ɻ Address myDog Address iTable notifier Interface value MyDog Stored value Method set Type(myDog) iTable var d Dog d = MyDog{“Pochi”}
myDog Address iTable notifier Interface value MyDog Stored value Method set Type(myDog) iTable var d Dog d = MyDog{“Pochi”} Address myDog Address iTable notifier Interface value MyDog Stored value Method set Type(*myDog) iTable var d Dog d = &MyDog{“Pochi”} • value assignment • pointer assignment • iTableͷܕ Reflectionͨ͠ܕΛ ࣋ͭ