How is more efficient to write:
CPoint ptScroll(GetScrollPosition());
or
CPoint ptScroll = GetScrollPosition();
?
In the first case, as far as I know, is executing only a variant of CPoint constructor, but in the second case is executing CPoint constructorand assignment operator ... I'm right ?