KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
suppose we have an object with the following interface: struct Node_t { ... const std::vector< something >& getChilds() const; } node; Now, i access the property with an auto variable like this: auto childs = node->getChilds(); what is the type of childs ? a std::vector< something > or a reference to one?
Tags (comma-separated)
Save Edits
Cancel