Programming‎ > ‎Language‎ > ‎C++‎ > ‎

Random

Nobody likes to be alone, make everyone a friend.
All yours is mine, make it all public.

Interface

An interface is a set of operations that is available on an object. An example would be a HasName interface, an object that support that interface should always have a GetName() function. In C++ this can be done with the use of abstract classes. The abstract class is then the Interface and a class derived from it will then have the interface.

class IHasName
{
    std::string GetName() = 0;
};

class MyObject : public IHasName
{
    ...
    std::string GetName() { return "MyObject"; };
};


Object Factories

Object Management and Factories - 2013

Reflection

Reflection in C++ - 2009 - a teaser, part 2 and Load in place.
Reflection in C++ - 2011 : Part1 and Part2.

Serialization


Bindings

One more degree of freedom for C++
http://rastergrid.com/blog/2010/02/one-more-degree-of-freedom-for-c/


Testing

Messages/Events
Comments