Value Types vs Reference Types
In this lesson we will see how D's arrays and slices behave with value type and reference type. Furthermore, we will perform an experiment to apply == operator to different types.
We'll cover the following...
Fixed-length arrays and slices #
D’s arrays and slices show different behavior when it comes to value type versus reference type.
As we have already seen above, slices are reference types. On the ...
Access this course and 1400+ top-rated courses and projects.