Advertisement
Guest User

Untitled

a guest
May 5th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. struct Node_t {
  2. ... const std::vector< something >& getChilds() const;
  3. } node;
  4.  
  5. auto childs = node->getChilds();
  6.  
  7. auto & childs = node->getChilds();
  8.  
  9. decltype( node->getChilds() ) childs = node->getChilds();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement