Template:cpp/memory/dsc resource adaptor