cppannotations/annotations/TODO
2014-02-27 11:23:54 +01:00

16 lines
608 B
Text

Explain the use of shared_ptr with non-polymorphic base classes
Explain how to define a const_reverse_iterator (define Type const &reference)
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);
...
};
-- all done --