User profile: JLBorges

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

container to hold objects of class type and it's derived types
[code]#include <vector> #include <memory> #include <functional> struct A { virtual ~A() = default ;...

What is this exercise asking for?
[code]/** * Write a template function that takes a vector<T> vt and a vector<U> vu as * arguments ...

Singleton class. Getting std::system_error error.
> This helps us not to worry about initialization order Yes. > This make the code thread safe ex...

Singleton class. Getting std::system_error error.
This is what is usually done: [code]#include <iostream> #include <future> #include <vector> #includ...

Singleton class. Getting std::system_error error.
> I am not able to comprehend why I am getting this error, To use [tt]std::call_once()[/tt] with th...