Open SlowTypist opened 1 year ago
Without seeing full errors dump I'm not sure what you compiler dislikes.
Try adding typename
between public
and StaticQueueBase<T>
.
class StaticQueueBase<T>::ConstIterator :
public typename StaticQueueBase<T>::template
IteratorBase<typename StaticQueueBase<T>::ConstIterator, const StaticQueueBase<T> >
... template <typename T> class StaticQueueBase<T>::ConstIterator : public StaticQueueBase<T>::template IteratorBase<typename StaticQueueBase<T>::ConstIterator, const StaticQueueBase<T> > { ... template <typename T> class StaticQueueBase<T>::Iterator : public StaticQueueBase<T>::template IteratorBase<typename StaticQueueBase<T>::Iterator, StaticQueueBase<T> > { ...
throws an error "expected class-name before '{' token".