
15 Mar
2009
15 Mar
'09
4 p.m.
I guess that the static qualifier for size(), empty() and max_size() makes the boost::array template class unsuitable for the STL sequence container interface. I recommend to remove the static qualifier.
Why? The only way that the qualifier can be detected is by taking the address of the function: but the types of member functions of STL containers are "unknowable" according to the std already. In other words the array class already conforms to the container requirements IMO. John.