Afficher un message
Vieux 30/06/2008, 17h40   #1
campyhapper@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut what is this syntax about?

I've seen this in C++, not Objective C:

namespace bar {
struct foo {
foo (int a, int b) :
int a_,
int b_
{}
};
}

My question is, what are the colon and post-colon expression there
for?
  Réponse avec citation
 
Page generated in 0,04351 seconds with 9 queries