2014-02-27 11:20:20 +01:00
|
|
|
Explain the use of shared_ptr with non-polymorphic base classes
|
|
|
|
Explain how to define a const_reverse_iterator (define Type const &reference)
|
2014-02-27 11:23:54 +01:00
|
|
|
Explain how to declare a function template for the current template type as
|
|
|
|
friend:
|
|
|
|
template <typename Type>
|
|
|
|
bool operator==(Iterator<Type> const &lhs, Iterator<Type> const &rhs);
|
|
|
|
|
|
|
|
template <typename Type>
|
|
|
|
class Iterator: public std::iterator<std::bidirectional_iterator_tag, Type>
|
|
|
|
{
|
|
|
|
friend bool operator==<>(Iterator<Type> const &lhs,
|
|
|
|
Iterator<Type> const &rhs);
|
|
|
|
...
|
|
|
|
};
|
2014-02-27 11:20:20 +01:00
|
|
|
|
2006-11-17 12:10:41 +01:00
|
|
|
-- all done --
|