Improved FlexiblePtr's assignment operator