What should template constructor of allocator do

I’m learning allocators and I have found that MSVC demand of presence of template constructor for allocator (and g++ and clang do not), here is minimal example of code that triggers error:

#include <map>
#include <vector>

template<class T>
struct ContiguousAllocator
{
public:
    using value_type = T;

    ContiguousAllocator() noexcept {}
    //template<class U>
    //ContiguousAllocator(const ContiguousAllocator<U>& v) noexcept
    //{}
    ~ContiguousAllocator() noexcept
    {}

    T* allocate(std::size_t n)
    {
        return nullptr;
    }

    void deallocate(T* p, std::size_t n) {}
};

template<class T, class U>
constexpr bool operator==(const ContiguousAllocator<T>&, const ContiguousAllocator<U>&) noexcept
{
    return false;
}

template<class T, class U>
constexpr bool operator!=(const ContiguousAllocator<T>&, const ContiguousAllocator<U>&) noexcept
{
    return true;
}

int main(int argc, char* argv[])
{
    std::vector<int, ContiguousAllocator<int>> vector;
    std::map<int, int, std::greater<int>, ContiguousAllocator<std::pair<const int, int>>> map;

    return 0;
}

Uncommenting template constructor for type U removes error. And the error is following:

C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): error C2440: 'static_cast': cannot convert from 'ContiguousAllocator<_Newfirst>' to 'ContiguousAllocator<_Newfirst>'
          with
          [
              _Newfirst=std::_Tree_node<std::pair<const int,int>,void *>
          ]
          and
          [
              _Newfirst=std::_Container_proxy
          ]
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): note: 'ContiguousAllocator<_Newfirst>::ContiguousAllocator': no overloaded function could convert all the argument types
          with
          [
              _Newfirst=std::_Container_proxy
          ]
  C:UserCodemain.cpp(56): note: could be 'ContiguousAllocator<_Newfirst>::ContiguousAllocator(const ContiguousAllocator<_Newfirst> &)'
          with
          [
              _Newfirst=std::_Container_proxy
          ]
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): note: 'ContiguousAllocator<_Newfirst>::ContiguousAllocator(const ContiguousAllocator<_Newfirst> &)': cannot convert argument 1 from 'ContiguousAllocator<_Newfirst>' to 'const ContiguousAllocator<_Newfirst> &'
          with
          [
              _Newfirst=std::_Container_proxy
          ]
          and
          [
              _Newfirst=std::_Tree_node<std::pair<const int,int>,void *>
          ]
          and
          [
              _Newfirst=std::_Container_proxy
          ]
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): note: Reason: cannot convert from 'ContiguousAllocator<_Newfirst>' to 'const ContiguousAllocator<_Newfirst>'
          with
          [
              _Newfirst=std::_Tree_node<std::pair<const int,int>,void *>
          ]
          and
          [
              _Newfirst=std::_Container_proxy
          ]
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): note: while trying to match the argument list '(ContiguousAllocator<_Newfirst>)'
          with
          [
              _Newfirst=std::_Tree_node<std::pair<const int,int>,void *>
          ]
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): note: the template instantiation context (the oldest one first) is
  C:UserCodemain.cpp(61): note: see reference to class template instantiation 'std::map<int,int,std::greater<int>,ContiguousAllocator<std::pair<const int,int>>>' being compiled
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includemap(72): note: see reference to class template instantiation 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>' being compiled
          with
          [
              _Kty=int,
              _Ty=int,
              _Pr=std::greater<int>,
              _Alloc=ContiguousAllocator<std::pair<const int,int>>
          ]
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1071): note: while compiling class template member function 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::~_Tree(void) noexcept'
          with
          [
              _Kty=int,
              _Ty=int,
              _Pr=std::greater<int>,
              _Alloc=ContiguousAllocator<std::pair<const int,int>>
          ]
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includemap(369): note: see the first reference to 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::~_Tree' in 'std::map<int,int,std::greater<int>,ContiguousAllocator<std::pair<const int,int>>>::~map'
          with
          [
              _Kty=int,
              _Ty=int,
              _Pr=std::greater<int>,
              _Alloc=ContiguousAllocator<std::pair<const int,int>>
          ]
C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1075): error C2530: '_Alproxy': references must be initialized
C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1076): error C3536: '_Alproxy': cannot be used before it is initialized
C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1076): error C2672: '_Delete_plain_internal': no matching overloaded function found
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includexmemory(1112): note: could be 'void std::_Delete_plain_internal(_Alloc &,_Alloc::value_type *const ) noexcept'
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1076): note: Failed to specialize function template 'void std::_Delete_plain_internal(_Alloc &,_Alloc::value_type *const ) noexcept'
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1076): note: With the following template arguments:
  C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.40.33807includextree(1076): note: '_Alloc=int'

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật