template<int size, typename TYPE, typename ARG_TYPE = const TYPE&>
class Proud::CFixedLengthArray< size, TYPE, ARG_TYPE >
Array class with fixed size
- To 'bounds check' a simple, fixed size array of T data[] format, it is possible to replace with this class to draw stability.
General usage
- Has similar usage of CAtlArray since this is copied and made from it, but it does not have insertion/removal/cleanup functions since it is static. (of course...)
Note
- If replacing the existing static array with CFixedLengthArray then there can be cases that either _countof() or sizeof() is used. << must modify them correctly. This is because of the fact that _countof() will always return 1.