Changeset c1ed2ee for src/Common


Ignore:
Timestamp:
Jun 21, 2019, 3:41:36 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
8d61d620
Parents:
9af00d23
Message:

Continued resolver porting

  • mostly initialization and validation
  • added move() and copy() to utility.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/utility.h

    r9af00d23 rc1ed2ee  
    3434class Expression;
    3535
     36/// bring std::move into global scope
     37using std::move;
     38
     39/// partner to move that copies any copyable type
     40template<typename T>
     41T copy( const T & x ) { return x; }
     42
    3643template< typename T >
    3744static inline T * maybeClone( const T *orig ) {
Note: See TracChangeset for help on using the changeset viewer.