Skip to content

Instantly share code, notes, and snippets.

@phausler
Created June 15, 2017 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phausler/6dc26d4682c6cb4f7cc470c40241dd03 to your computer and use it in GitHub Desktop.
Save phausler/6dc26d4682c6cb4f7cc470c40241dd03 to your computer and use it in GitHub Desktop.
typealias T1<T> = (T, T)
typealias T2<T> = T1<T1<T>>
typealias T3<T> = T2<T2<T>>
typealias T4<T> = T3<T3<T>>
typealias T5<T> = T4<T4<T>>
typealias T6<T> = T5<T5<T>>
print(MemoryLayout<T6<Int>>.size)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment