Shared Ptr Empty Function Composition And Inverse