User profile: benbalach

User info
User name:benbalach
Email:benbalach@yahoo.com
Name:Ben Balach
History
Joined:
Number of posts:149
Latest posts:

C++ 17 as an alternative to using OS API
C++ 11 brought us closer to the operating system without having to directly use the operating system...

Covariant return type to reference to base, must be const?
@Peter87 Thank you very much now I understand! I Google'd "C++ temporary objects" and I found a ve...

Covariant return type to reference to base, must be const?
I was trying some stuff out with covariant return types and I stumbled on something that I don't und...

Check value of member variable directly or through member function?
Take a look at the code: [code] class A { A() : empty{false} { } bool is_empty() const { ...

Dependency injection std::shared_ptr vs reference
In fact the more I think about it the more using a reference seems like the right thing to do. The l...