CustomNS library in C++