Indiana Unversity logo[ConceptGCC]

ConceptGCC :

Template Requirements

From: Marcin Zalewski (zalewski_at_[hidden])
Date: 2008-08-28 02:50:16


Hello,

I am compiling the following code from the concept wording:

concept Allocator<typename Alloc> {
 template<class T> class rebind;
}

ConceptGCC (latest version from the repository) says:

template<class Alloc> template<class T> struct
Allocator<Alloc>::rebind is not permitted in a concept

I think that this is because conceptGCC does not support associated
templates yet. If I am correct, the error should state the lack of
support and, in fact, I think that conceptGCC used to say something to
the effect that associated templates are not supported.

-m