Opened 17 months ago

#169 new defect

Incorrect order of generic struct constructor params

Reported by: Thierry Delisle Owned by:
Priority: major Component: cfa-cc
Version: 1.0 Keywords: BoxPass
Cc:

Description

This code does not initialize the vector properly on the machines BrokkN.

I haven't yet confirmed if this is global or not.

#include <fstream.hfa>
#include <vector.hfa>
int main() {
        vector( int ) iv;
}

The call to the constructor must pass the size/alignment of int and allocator_t. In the given code, the order of arguments does not match the order of parameters.

Change History (0)

Note: See TracTickets for help on using tickets.