mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
16 lines
608 B
Text
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 --
|