Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 31,878 of 33,346    |
|    Helmut Jarausch to Helmut Zeisel    |
|    Re: could not deduce template argument f    |
|    01 Feb 12 10:29:10    |
      4884188b       From: jarausch@igpm.rwth-aachen.de              On Tue, 31 Jan 2012 14:36:39 -0800, Helmut Zeisel wrote:              > Why does the code below not compile?       >       > VC 2010 says       >       > error C2784: 'void f(double [m][n])' : could not deduce template       > argument for 'double [m][n]' from 'double [2][3]'       >       > GCC 4.5.3 says       >       > error: no matching function for call to `f(double [2][3])'       >       > Explicitely saying f<2,3>(a) works in both cases.       >       >       > Helmut       >       > ===========       >       > #include |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca