title: Returning an object or a pointer in C++
body: <p>In C++, should my method return an object or a pointer to an object? How to decide? What if it's an operator? How can I define?</p>
  
  <p>And one more thing - if the pointer turns to be a vector, how can I find out its size after returned? And if it's impossible, as I think it is, how should I proceed to correctly return an array without this limitation?</p>