id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7652,compile-time checked access,Tobias Loew,Marshall Clow,"Since code like boost::array test; test[2] = 1; test[-1] = 1; compiles correctly on some compilers (even without warnings). I suggest adding compile checked functions for static access to arrays like: template reference at() { BOOST_STATIC_ASSERT( (i < N) ); return elems[i]; } template const_reference at() const { BOOST_STATIC_ASSERT( (i < N) ); return elems[i]; } then code like: boost::array test; test.at<2> = 1; test.at<-1> = 1; would result in the expected errors.",Feature Requests,assigned,Boost 1.54.0,array,Boost 1.52.0,Optimization,,,