Amachi_STL/AMI_vector.hpp
void resize(size_type _size, const value_type& value) { 
        if (_size > size()) {
            insert(end(), _size - size(), value);
        } else {
            erase(begin() + _size, end());
        }
    }
/**
     * Resets the size of the vector 
     * discards elements that are out of range OR fill in the new free space
     * @return no returns
     * @param _size    - unsigned int      - the new size
     * @param value    - const value_type& - elements to fill in (if possible)
    **/
Resets the size of the vector
discards elements that are out of range OR fill in the new free space
@return no returns
@param _size    - unsigned int      - the new size
@param value    - const value_type& - elements to fill in (if possible)
Resets the size of the vector discards elements that are out of range OR fill in the new free space @return no returns @param _size - unsigned int - the new size @param value - const value_type& - elements to fill in ( if possible )
void resize(size_type _size, const value_type& value) { 
        if (_size > size()) {
            insert(end(), _size - size(), value);
        } else {
            erase(begin() + _size, end());
        }
    }
void resize ( size_type _size , const value_type & value ) { if ( _size > size ( ) ) { insert ( end ( ) , _size - size ( ) , value ) ; } else { erase ( begin ( ) + _size , end ( ) ) ; } }
Resets the size of the vector
 discards elements that are out of range OR fill in the new free space
 @return no returns
 @param _size    - unsigned int      - the new size
 @param value    - const value_type& - elements to fill in (if possible)
Resets the size of the vector discards elements that are out of range OR fill in the new free space @return no returns @param _size - unsigned int - the new size @param value - const value_type& - elements to fill in ( if possible )