For C code, if you really insist on it, you can use old-style (K&R) function headers:
typedef int const cint;
int f(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z)
cint a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z;
{
// function body here
}
Note that I'm not recommending this -- and C++ doesn't support this anyway, so the only way you could use it would be to compile the function itself in C, and include an extern "C"
declaration to access it from C++.
I'd also note, however, that the whole idea strikes me as silly anyway. First, a function that has enough parameters for this to be worth considering is basically guaranteed to be a disaster. Second, top-level const
(i.e., applying to the parameter itself, not what it points at or refers to) is completely meaningless, and (IMO) a lousy idea in any case.