derived class (vector): is this a bad idea?
<p>I am about to "create" my own vector class for a library I am writing. I won't really create a vector class from scratch, but just use <code>std::vector</code> as a parent class and add some stuff to my derived vector class.</p>

<p>Now, that said, I need a bit of advice. My questions are:</p>

<p>1) Is it a bad idea to call my derived class <code>vector</code> (inside of another namespace, of course)? What kind of conflicts will I have in this case?</p>

<p>2) I want to overload the math operators to be able to add vectors, multiply vectors by constants etc. This is actually the reason why I decided to build a vector class on top of <code>std::vector</code>. I could, however, overload the math operators for <code>std::vector</code> directly and save myself the trouble of creating (yet another...) vector class -- but is this a bad idea?</p>

<p>3) I would very much like to inherit the constructors from <code>std::vector</code>, but I am having lots of trouble getting this done without compiler errors. Could someone please provide me with a concrete example showing me how can this be done?</p>

<p>Thank you!</p>
