Make the resource_pool become non-default constructable if the value is non-default constructable