In an example regarding std::codecvt
seen on http://en.cppreference.com/w/cpp/locale/codecvt, there was this syntax:
for (char16_t c : str16)
knowing that str16 is a variable (l-value) std::u16string str16
.
What does it mean?
That's what I call type var : var
in the title.
PS: Is there a topic referencing all the particular syntax types? The rare ones?
Recently I saw:
int ackermann(m,n)
int m,n;
{
// function definition
}