User profile: JLBorges

User info
User name:JLBorges
Number of posts:12670
Latest posts:

My simple vector, myVec
That you are now reserving memory is good. But, in the reserve function, [tt]T* p = new T[newalloc...

Is there methodology for cache-efficient algorithms and data structure?
> I know some of linked data structure can be represented as contiguous data structures We could us...

C-String : incompatibility between char and const char *
> In the example from cppreference I tried to output the character c and it printed garbage anyway. ...

My simple vector, myVec
> Look at this new version below please. Is it fine and modern thus far? The constructors default i...

My simple vector, myVec
> 1) I still don't know setting elem to nullptr after deleting it in the dtor when we use raw pointe...