Ignore:
Timestamp:
Apr 14, 2017, 6:24:35 PM (7 years ago)
Author:
Aaron Moss <a3moss@…>
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
Message:

Some compaction of benchmark code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/generic_types/evaluation/cpp-vstack.hpp

    r4570131 r79b8dc3  
    55class stack {
    66        struct node {
    7                 std::unique_ptr<object> value;
     7                ptr<object> value;
    88                node* next;
    99
    1010                node( const object& v );
    1111
    12                 node( std::unique_ptr<object>&& v, node* n );
     12                node( ptr<object>&& v, node* n );
    1313        };
    1414
     
    3434        bool empty() const;
    3535
    36         void push(std::unique_ptr<object>&& value);
     36        void push(ptr<object>&& value);
    3737
    38         std::unique_ptr<object> pop();
     38        ptr<object> pop();
    3939};
Note: See TracChangeset for help on using the changeset viewer.