=====resize===== Syntax: #include void resize( size_type num, TYPE val = TYPE() ); The function resize() changes the size of the deque to ''num''. If ''val'' is specified then any newly-created elements will be initialized to have a value of ''val''. This function runs in [[/complexity|linear time]]. Related Topics: [[size]]