Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardSwiftmemory layout and alignmentSingle-choice MCQ

A generic struct stores a value of a generic, possibly non-trivial, type. What does the runtime use to copy, move, and destroy such values when the concrete type is not known at compile time?

struct Box<T> { var value: T }