DIP54 : revamp of Phobos tuple types

Meta jared771 at gmail.com
Sun Dec 29 22:50:41 PST 2013


On Monday, 30 December 2013 at 06:48:11 UTC, Meta wrote:
> This almost looks like something that could work, but is 
> explicitly disallowed by the compiler.
>
> 	struct Test
> 	{
> 		enum opSlice(size_t a, size_t b) = 42;
> 	}
> 	
> 	//Error: can only slice tuple types, not Test
> 	Test[1..2] t2;

Actually, no, nevermind. I got ahead of myself. It's probably 
just a canned message.


More information about the Digitalmars-d mailing list