Compiler Error C2780 (Windows CE 5.0)

Send Feedback

'declaration' : expects value1 arguments - value2 provided

A function template has too few arguments.

The following example shows how this error might occur.

template<class T> void f(T, T){ }
f(1);  // error

Function f takes two or more parameters, but only one parameter is provided.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.