Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Node_t {
- ... const std::vector< something >& getChilds() const;
- } node;
- auto childs = node->getChilds();
- auto & childs = node->getChilds();
- decltype( node->getChilds() ) childs = node->getChilds();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement