Ignore:
Timestamp:
Mar 9, 2018, 1:28:54 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, 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, resolv-new, with_gc
Children:
e84382b
Parents:
8b001bd (diff), f86c8e5 (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.
Message:

more changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/evaluation/cpp-stack.hpp

    r8b001bd r3d8f2f8  
    1111
    1212        stack() : head( nullptr ) {}
    13         stack( const stack<T> & o) { copy( o ); }
     13        stack( const stack<T> & o ) { copy( o ); }
    1414        stack( stack<T> && o ) : head( o.head ) { o.head = nullptr; }
    1515
     
    4141        }
    4242
    43         stack & operator= ( stack<T> && o ) {
    44                 if ( this == &o ) return *this;
    45                 head = o.head;
    46                 o.head = nullptr;
    47                 return *this;
    48         }
    49 
    5043        bool empty() const { return head == nullptr; }
    5144
Note: See TracChangeset for help on using the changeset viewer.