User profile: Olysold

User info
User name:Olysold
History
Joined:
Number of posts:145
Latest posts:

Memory allocation via std::allocator.
[quote]size() is zero, so the loop is never entered.[/quote] That explains so much! Thanks Cubbi =)

Memory allocation via std::allocator.
Thanks for the answer, still need a little nudge though. So let's say on the first call to push_back...

Memory allocation via std::allocator.
Really need some confirmation on whether I got this right or not, specifically the part where the al...

Copy Assignment operator, const and reference.
In this exercise the swap function pretty much does the same thing (I think) for the copy assignment...

Strange errors "hello world" program
[code]#include <iostream> //Throw this up there. using namespace std;[/code] Edit: Should of read ...