Last updated 2 years ago
Was this helpful?
禁用 「=」 作為 constructor (copy-initialization),只能 direct-initialization struct()
避免 10, "10" 分不清
a = 10, a(10)
explicit 禁用 a = 10
a = "10", a("10")