September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,2 +0,0 @@
|
|||
int var;
|
||||
int* ptr = &var;
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
struct S{}
|
||||
class C{}
|
||||
|
||||
void foo(S s){} // pass by value
|
||||
void foo(C c){} // pass by reference
|
||||
void foo(int i){} // pass by value
|
||||
void foo(int[4] i){} // pass by value
|
||||
void foo(int[] i){} // pass by reference
|
||||
void foo(ref T t){} // pass by reference regardless of what type T really is
|
||||
Loading…
Add table
Add a link
Reference in a new issue