[Boost-bugs] [Boost C++ Libraries] #6255: when define an array, the dimension can be a variable

Subject: [Boost-bugs] [Boost C++ Libraries] #6255: when define an array, the dimension can be a variable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-12 02:41:27


#6255: when define an array, the dimension can be a variable
------------------------------------------+---------------------------------
 Reporter: ryan.kang@… | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
------------------------------------------+---------------------------------
 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?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6255>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC