|
|
От: |
uzhas
|
|
| Дата: | 16.05.16 10:39 | ||
| Оценка: | |||
vector<float> getVector(){
vector<float> tmp(X_,X_+size);
return tmp;
}
vector<float> a1 = getVector(); // <-- valid
const vector<float>& a2 = getVector(); // <-- valid as well