stack state
is_end() paramator erase