How to erase duplicate element in vector, efficiently
<p>I have</p>

<pre><code> vector&lt;string&gt; data ; // I hold some usernames in it
</code></pre>

<p>In that vector, I have duplicate element(s), so I want erase this/these element(s).Are there any algorithm or library function to erase duplicate element(s)?</p>

<pre><code>ex :
    In data;
           abba, abraham, edie, Abba, edie
    After operation;
           abba, abraham, edie, Abba
</code></pre>
