Member functions for scalar types and operator overloading
<p>I've been thinking about some possible features C++ could have, does anyone know why they aren't supported?</p>

<ol>
<li><strong>Member functions for built-in types.</strong> This may just not seem necessary, but an interesting feature nonetheless. Example pseudocode: <code>int int::getFirstBit(void) {return *this &amp; 1;} ... int a = 2; a.getFirstBit();</code> This may seem useless, but it shouldn't be hard to implement either. With this springs up the following thought:</li>
<li><strong>Member functions outside class definition.</strong> I don't see why this shouldn't be supported, except for conflicts with access restriction (public,protected,private,etc.) and encapsulation, but perhaps only <code>structs</code> could have this feature.</li>
<li><strong>Operator overloading for non-object types</strong>, a use for this could be for pointers or arrays.</li>
</ol>

<p>I know these features aren't necessary for much, but they still seem cool. Is it because they don't seem necessary or because they can cause many headaches?</p>
