#SwiftLang Challenge: Oddball Casting

Quick quiz: When can you coerce a struct or enum instance to a class instance using the casting as operator?

If I format this post correctly, an answer is on the next page. (Open this post on its own page and then look down for the PAGE 1 2 bit.)

One Comment

  • Should ErrorStruct() be MyError()?