cpp/locale/locale/operator=

Creates a copy of, replacing the contents of. The reference counts of all facets held by are incremented. The reference counts of all facets previously held by are decremented, and those facets whose reference count becomes zero are deleted.

Return value
Returns, which is now a copy of.