Changeset 3587
- Timestamp:
- Jan 19, 2017, 1:44:49 PM (7 years ago)
- Location:
- trunk/yat/utility
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/Vector.cc
r3210 r3587 63 63 { 64 64 } 65 66 67 #ifdef YAT_HAVE_RVALUE 68 Vector::Vector(Vector&& other) 69 : VectorMutable(other.vec_) 70 { 71 other.vec_ = NULL; 72 other.const_vec_ = NULL; 73 } 74 #endif 65 75 66 76 -
trunk/yat/utility/Vector.h
r3101 r3587 29 29 */ 30 30 31 #include "config_public.h" 32 31 33 #include "VectorMutable.h" 32 34 #include "Exception.h" … … 78 80 */ 79 81 Vector(const Vector& other); 82 83 #ifdef YAT_HAVE_RVALUE 84 /** 85 \brief The move constructor. 86 */ 87 Vector(Vector&& other); 88 #endif 80 89 81 90 /**
Note: See TracChangeset
for help on using the changeset viewer.