User profile: JLBorges

User info
User name:JLBorges
History
Joined:
Number of posts:6471
Latest posts:

Use of equal_to function object
[code]#include <iostream> // "std_lib_facilities.h" #include <vector> #include <algorithm> #include...

Sorting unordered map by its value
Get a sorted (on mapped_type) snapshot view of an associative container or an unordered associative ...

Why is a double pointer necessary?
> I thought the else statement took care of that moving down the tree until it found a Nullptr? Eac...

Why is a double pointer necessary?
This leaks: [code]void BTree::insert(Node ** t, const int &x) { Node * n = new Node; // what hap...

Forward-declarations and inheritance
Lazy evaluation: [code]/** This is a pointer that let's you observe the lifetime of types extending ...