C++ SDP library