﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
6	Vector as Field of Generic Type Fails to Compile	ajbeach		"I tried to make a generic container (a stack) that used a vector as a base. However it would not compile, even when I stripped it down to the most simple member function.
{{{
forall(otype T)
struct stack {
    vector(T, heap_allocator(T)) data;
};

bool empty(stack(int) * this) {
    return empty(&this->data);
}
}}}

Error message I received:
{{{
CFA Version 1.0.0 (debug)
implicit-handlers.c:45 error: No reasonable alternatives for expression Applying untyped: 
  Name: empty
...to: 
  Address of:
      Untyped Member Expression, with field: 
        Name: data
        from aggregate: 
          Applying untyped: 
            Name: *?
          ...to: 
            Name: this
}}}
"	defect	closed	minor	cfa-cc	1.0	fixed		
