title: What is a scalar Object in C++?
body: <p>As far as I understand it fundamental types are Scalar and Arrays are aggregate but what about user defined types? By what criteria would I divide them into the two categories? </p>
  
  <pre><code>struct S { int i; int j };
  class C { public: S s1_; S s2_ };
  std::vector&lt;int&gt; V;
  std::vector&lt;int&gt; *pV = &amp;v;
  </code></pre>