protected member function
<memory>

std::enable_shared_from_this::enable_shared_from_this

default (1)
constexpr enable_shared_from_this() noexcept;
copy (2)
          enable_shared_from_this (const enable_shared_from_this&) noexcept;
Construct enable_shared_from_this
Constructs an enable_shared_from_this object.

As a stateless class, it makes no difference whether it is default- or copy- constructed.