In the destructor of the example class static_vector, wouldn't it be better to destruct the objects in the inverse order of their construction? 184.108.40.206 01:25, 5 June 2012 (PDT)
- It would make it match the behavior of arrays, but not necessarily other containers. It's a wiki, you can make that edit yourself if you think it's warranted. --Cubbi 05:27, 5 June 2012 (PDT)
Is "typedef" really required in possible implementation?
- No, I suppose it could define the member type in any other way (edited to drop typedef). Note that this is not a complete implementation: it doesn't satisfy the default Align requirements (see real implementations in LLVM libc++ and GNU libstdc++ to see how it's done. --Cubbi (talk) 13:07, 29 December 2013 (PST)