[Issue 6544] Tuple unpacking at the called function
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Dec 10 06:23:58 PST 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6544
--- Comment #2 from bearophile_hugs at eml.cc 2011-12-10 06:23:55 PST ---
A handy related feature, auto unpacking of small arrays too:
void foo([int x, int y]) {}
void main() {
    auto a = [[1,2], [3,4]];
    auto r = map!foo(a);
}
-- 
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