- Timestamp:
- 04/20/15 03:15:26 (10 years ago)
- Location:
- cpp/frams/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/sstring.cpp
r348 r367 134 134 if (!t) return; 135 135 copyFrom(t,t_len); 136 } 137 138 SString::SString(SString&& from) 139 { 140 buf=from.buf; 141 from.buf=&SBuf::empty(); 136 142 } 137 143 -
cpp/frams/util/sstring.h
r348 r367 72 72 SString(int x); ///< string with initial buffer size 73 73 SString(const SString& from); ///< duplicate string 74 SString(SString&& from); ///< move 74 75 ~SString(); 75 76
Note: See TracChangeset
for help on using the changeset viewer.