25 Nov
2013
25 Nov
'13
3:44 p.m.
AMDG On 11/25/2013 01:22 AM, Mostafa wrote:
Because it does not meet the stated requirements. For one, it doesn't have operator+, two, it doesn't have the necessary implicit conversion-to-pointer operator, three regular arrays can't be assigned to, etc ...
To be more clear, what is desired is a type that mimics all (well, I can live with almost all [1]) the functionality of a regular array, no more, no less.
[1] Initialization with array initializor list might be impossible to do in C++03.
If you want something that behaves exactly like an array, why can't you use an array? In Christ, Steven Watanabe