couturier
France 291 Posts
void test_null(vector v1, vector& v2 = NULL, vector& v3 = NULL) { v2=2*v1; v3=3*v1; }
eparent
118 Posts
void test_null(vector v1, vector& v2 = NULL, vector& v3 = NULL) { if( v2 ) v2=2*v1; if( v3 ) v3=3*v1; }
n/a
6 Posts