Changeset 79b8dc3 for doc/generic_types/evaluation/cpp-vstack.hpp
- Timestamp:
- Apr 14, 2017, 6:24:35 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:
- 17f27d40, 1c38f5b, 6eb4398
- Parents:
- 4570131
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/generic_types/evaluation/cpp-vstack.hpp
r4570131 r79b8dc3 5 5 class stack { 6 6 struct node { 7 std::unique_ptr<object> value;7 ptr<object> value; 8 8 node* next; 9 9 10 10 node( const object& v ); 11 11 12 node( std::unique_ptr<object>&& v, node* n );12 node( ptr<object>&& v, node* n ); 13 13 }; 14 14 … … 34 34 bool empty() const; 35 35 36 void push( std::unique_ptr<object>&& value);36 void push(ptr<object>&& value); 37 37 38 std::unique_ptr<object> pop();38 ptr<object> pop(); 39 39 };
Note: See TracChangeset
for help on using the changeset viewer.