cpp/header/memory resource