News for hackers. Stuff that matters.
Re:Returning multiple values from functions in C++ by oselhn on Monday March 07, 2016 @07:18AM (#11238456)
I meant something like that:

  struct x {int a, char* b}
  x foo();
  // a lot of code
  struct y {char* y, int x}
  y bar();
  //another header
  struct z {bool a, int b, char* c}
  z foo2();
It is ussually the same data structure, but someone was lazy to define it properly.

There are no comments on this comment yet.