Opened 11 years ago

Closed 11 years ago

#6255 closed Bugs (invalid)

when define an array, the dimension can be a variable

Reported by: ryan.kang@… Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

int main() {

int b = 10; int array[b]; array[0] = 100; b = 20; return 0;

}

it is ok with these code? Is there something wrong with it?

Change History (1)

comment:1 by Steven Watanabe, 11 years ago

Resolution: invalid
Status: newclosed

This has nothing to do with Boost.

Note: See TracTickets for help on using tickets.