Explicit Interface Implementation !!!
I have encountered this [wait i’ll explain] sort of situation many times and I mostly do this way in C++. Assume you have a class CMyClass that exposes its functionality through its public methods, …
Read more →Blog posts on tech, engineering, and more.
I have encountered this [wait i’ll explain] sort of situation many times and I mostly do this way in C++. Assume you have a class CMyClass that exposes its functionality through its public methods, …
Read more →I am always a great fan of interface programming. I mean not exactly the interface keyowrd but some way to expose the functionality of the class or your module relieving the user about the worries of …
Read more →Inherently after writing some code in C#, I wanted everything to be as easy to do like in C#. And could not resist myself writing property like syntax in C++ [ofcourse C++/CLI, threw away the ugly …
Read more →The Loader Lock is a synchronization object that helps to provide mutual exclusion during DLL loading and unloading. It helps to prevent DLLs being re-entered before they are completely initialized …
Read more →Recently I got tangled into this problem in my code - Calling a vector destructor for a scalar pointer. We all know that it is perfectly illegal to do that. For example, if we allocate something like …
Read more →