Changeset 674
- Timestamp:
- 10/20/09 13:38:09 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/user_info_test.cpp
r544 r674 33 33 } 34 34 35 string to_string(){35 string to_string() const { 36 36 return name; 37 37 } … … 61 61 } 62 62 63 string to_string(){63 string to_string() const { 64 64 stringstream stream; 65 65 stream << number; … … 128 128 } 129 129 130 string to_string(){130 string to_string() const { 131 131 stringstream stream; 132 132 stream << "A car made in " << year << " by " << manufacturer << ", having " << kilometers << " kilometers on the clock."; … … 178 178 } 179 179 180 string to_string(){180 string to_string() const { 181 181 stringstream stream; 182 182 stream << "a bike made in " << year << " by " << manufacturer;