[Issue 5250] Pure std.typecons.Tuple

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 21 16:23:10 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5250



--- Comment #1 from bearophile_hugs at eml.cc 2010-11-21 16:21:53 PST ---
The same is true for "nothrow" attribute:


import std.typecons: Tuple;
pure nothrow Tuple!int foo() {
    return Tuple!int(0);
}
void main() {
    assert(foo()[0] == 0);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list