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.

Reply via email to