Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::pair< std::list<CProduct>::const_iterator,
- std::list<CProduct>::const_iterator > * GetPortfolio() const ; // function declaration
- std::pair< std::list<CProduct>::const_iterator, // function definition
- std::list<CProduct>::const_iterator > * CDeveloper::GetPortfolio() const
- {
- return new std::pair< std::list<CProduct>::const_iterator,
- std::list<CProduct>::const_iterator >(m_lCProducts.cbegin(), m_lCProducts.cend());
- }
- std::pair< std::list<CProduct>::const_iterator, std::list<CProduct>::const_iterator>
- * developersProductPortfolio = m_iCDeveloper->GetPortfolio();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement