cpp/memory/weak ptr/deduction guides

One deduction guide is provided for std to account for the edge case missed by the implicit deduction guides.