Opened 8 years ago
Closed 8 years ago
#43 closed defect (fixed)
Anonymous generics ctor
| Reported by: | Thierry Delisle | Owned by: | |
|---|---|---|---|
| Priority: | critical | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description
The following data structure cannot be constructed :
typedef void (*fptr_t)();
forall( dtype T )
struct __array {
T * data;
short size;
};
struct guard_t {
struct {
__array( float );
fptr_t func;
} prev;
};
void ?{}( guard_t & this, float * ptr, short size, fptr_t func ) {
// Save previous thread context
(this.prev).data = ptr;
this.prev.size = size;
this.prev.func = func;
}
Change History (2)
comment:1 by , 8 years ago
| Priority: | major → critical |
|---|
comment:2 by , 8 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 189d800: