object frontreturn *begin)const object frontconst return *begin)object backreturn *--end)const object backconst return *--end)void push_frontconst object insertbegin) )void push_frontobject & insertbegin)std::movex )void push_backconst object insertend) )void push_backobject & insertend)std::movex )void pop_fronterasebegin)void pop_backerase--end)iterator insertiterator itrconst object /see figure *iterator insertiterator itrobject & /see figure *iterator eraseiterator itr /see figure *iterator eraseiterator fromiterator to /see figure *privateint thesizenode *headnode *tailvoid init/see figure *}figure list class (part of