1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Which list is vector<CType>::clear() going to clear?

Discussion in 'C' started by hajimeml, Jul 3, 2009.

  1. hajimeml

    hajimeml New Member

    Jul 3, 2009
    Likes Received:
    Trophy Points:
    Hello. I am trying to understand the following code. When the CTB<CType>::Initialize() member function is called, what object of type vector<CType> is going to have all items removed? I am not sure why the Initialize function has no argument to specifically tells the clear() function which list to clear. Any ideas? Thanks.

    template< class CType >
    void CTB<CType>::Initialize(void)
    vector<CType> ::clear();

Share This Page