Skip to content

Instantly share code, notes, and snippets.

@starfys
Last active April 13, 2018 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save starfys/a87bc0a59a42e4830f850756303c4925 to your computer and use it in GitHub Desktop.
Save starfys/a87bc0a59a42e4830f850756303c4925 to your computer and use it in GitHub Desktop.
/// Performs nuclear fission by reference
void atom_splitter(Atom atom, Atom& atom_out_1, Atom& atom_out_1) {
// Oak Ridge won't let us show this
}
int main() {
Atom uranium = Atom::Uranium;
Atom krypton, barium;
atom_splitter(uranium, &krypton, &barium);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment