Changeset 1504536 for doc/generic_types/evaluation/cpp-stack.hpp
- Timestamp:
- Apr 14, 2017, 5:03:43 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 952d201
- Parents:
- bbe856c (diff), 3fb7f5e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/generic_types/evaluation/cpp-stack.hpp
rbbe856c r1504536 18 18 node* next = o.head; 19 19 while ( next ) { 20 *crnt = new node{ next->value }; 20 *crnt = new node{ next->value }; /***/ 21 21 crnt = &(*crnt)->next; 22 22 next = next->next; … … 63 63 64 64 void push(T&& value) { 65 head = new node{ std::move(value), head }; 65 head = new node{ std::move(value), head }; /***/ 66 66 } 67 67
Note: See TracChangeset
for help on using the changeset viewer.