User profile: JLBorges

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

questions about stl sort
The predicate does not meet the requirements of [i]Compare[/i] https://en.cppreference.com/w/cpp/nam...

C++ approach to handling collections
> I have a phone number object that I want to roll up into a collection of phone numbers for the per...

The algorithm std::sort uses
> You mean the Introsort algorithm uses the predicate we've supplied in the code to compare the elem...

std::unique_ptr::get vs std::shared_ptr
> Can I understand that passing a raw pointer got from the get() as a parameter is not to share owne...

lambda question
A generic lambda with a parameter pack: [code]#include <iostream> int main() { const auto plus...