Few implementations in C++