For the second example, can you pass x.wrap!(A, B) to functions
expecting either A or B?
- wrap/unwrap vs Go-style duck typing Andrei Alexandrescu
- Re: wrap/unwrap vs Go-style duck typing John Colvin
- Re: wrap/unwrap vs Go-style duck typing Martin Nowak
- Re: wrap/unwrap vs Go-style duck typing Nicolas Sicard
- Re: wrap/unwrap vs Go-style duck typi... Meta
- Re: wrap/unwrap vs Go-style duck typi... Andrei Alexandrescu
- Re: wrap/unwrap vs Go-style duck ... Nicolas Sicard
- Re: wrap/unwrap vs Go-style duck ... Jacob Carlborg
- Re: wrap/unwrap vs Go-style ... David Nadlinger
- Re: wrap/unwrap vs Go-st... David Nadlinger
- Re: wrap/unwrap vs Go-style duck ... Jonathan M Davis
- Re: wrap/unwrap vs Go-style ... Joseph Rushton Wakeling
- Re: wrap/unwrap vs Go-style duck typing Jesse Phillips
- Re: wrap/unwrap vs Go-style duck typing Dicebot
