Untitled
public text v1 · immutable//is this valid?
int main(){
list<SomeObject> temp;
someFunction(&temp);
return 0;
}
void someFunction(list<SomeObject> * passed){
SomeObject it;
passed.push_front(it);//will a local copy be pushed? will the pushed object be acessible from main?
}