enhanced vector and deque competency test
Hi, I am Islam Taha i’m interested in the idea of enhanced vector and deck and i’ve implemented the simple vector-like container, it would be pleasurable to review and give me your feedback on my implementation. that’s the link ( https://github.com/islam-taha/stdVector/blob/master/vector.cpp https://github.com/islam-taha/stdVector/blob/master/vector.cpp ). Thanks in advance.
On 2015-03-19 18:18, Islam Taha wrote:
Hi, I am Islam Taha i’m interested in the idea of enhanced vector and deck and i’ve implemented the simple vector-like container, it would be pleasurable to review and give me your feedback on my implementation. that’s the link ( https://github.com/islam-taha/stdVector/blob/master/vector.cpp https://github.com/islam-taha/stdVector/blob/master/vector.cpp ). Thanks in advance.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Hi, I had a brief look at your code, I didn't have time to inspect it thoroughly. If I were you, I'd start by addressing the compile warnings (compile with -Wall and keep on fixing them until there are none) and this: Vector<int> a; a.push_back(1); Vector<int> b(a); b[0] = 2; std::cout << a[0] << std::endl; I also get a segfault somewhere but I can't debug it now. Best Giacomo
participants (2)
-
Giacomo Drago
-
Islam Taha