Changeset f86c8e5 for doc/papers/general/Paper.tex
- Timestamp:
- Mar 9, 2018, 12:11:23 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:
- 3d8f2f8, b51e5fdb
- Parents:
- 12bbb367
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/general/Paper.tex
r12bbb367 rf86c8e5 2627 2627 & \CT{C} & \CT{\CFA} & \CT{\CC} & \CT{\CCV} \\ \hline 2628 2628 maximum memory usage (MB) & 10,001 & 2,502 & 2,503 & 11,253 \\ 2629 source code size (lines) & 197 & 186 & 1 33 & 303 \\2629 source code size (lines) & 197 & 186 & 125 & 293 \\ 2630 2630 redundant type annotations (lines) & 27 & 0 & 2 & 16 \\ 2631 2631 binary size (KB) & 14 & 257 & 14 & 37 \\ … … 2925 2925 stack() : head( nullptr) {} 2926 2926 stack( const stack<T> & o ) { copy( o ); } 2927 stack( stack<T> && o ) : head( o.head) { o.head = nullptr; }2928 2927 ~stack() { clear(); } 2929 2928 stack & operator= ( const stack<T> & o) { … … 2931 2930 clear(); 2932 2931 copy( o ); 2933 return *this;2934 }2935 stack & operator= ( stack<T> && o ) {2936 if ( this == &o ) return *this;2937 head = o.head;2938 o.head = nullptr;2939 2932 return *this; 2940 2933 } … … 2979 2972 stack() : head( nullptr ) {} 2980 2973 stack( const stack & o ) { copy( o ); } 2981 stack( stack && o ) : head( o.head ) { o.head = nullptr; } 2982 ~stack() { clear(); } 2974 ~stack() { clear(); } 2983 2975 stack & operator= ( const stack & o ) { 2984 2976 if ( this == &o ) return *this; 2985 2977 clear(); 2986 2978 copy( o ); 2987 return *this;2988 }2989 stack & operator= ( stack && o ) {2990 if ( this == &o ) return *this;2991 head = o.head;2992 o.head = nullptr;2993 2979 return *this; 2994 2980 }
Note: See TracChangeset
for help on using the changeset viewer.