digitalmars.D.learn - state of the art with Typedef
- John Colvin (8/8) Nov 01 2014 What are the known pitfalls of std.typecons.Typedef as of now?
- Meta (2/3) Nov 01 2014 Another good use-case for allowing a user-defined operator for is.
What are the known pitfalls of std.typecons.Typedef as of now? Things I know: Have to use a cookie string to get a proper unique type. Have to explicitly specify an init in order to specify a cookie. Doesn't support "is" keyword. Isn't nice to look at in error messages. Relies on optimisations to alias itself away. Are there any more?
Nov 01 2014
On Saturday, 1 November 2014 at 23:18:35 UTC, John Colvin wrote:Doesn't support "is" keyword.Another good use-case for allowing a user-defined operator for is.
Nov 01 2014