Restore the documented limitations, in a document of their own

Đang mở Phù hợp với người mới
#407 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với CONTRIBUTING.md và xem xét các giới hạn đã được loại bỏ trong #388, sau đó so sánh các issue liên quan #393 và #356. Thêm một doc/limitations.md được liên kết hoặc một phần tương đương trong README.md, bao quát các giới hạn được liệt kê, các member bị từ chối, các member bị bỏ qua một cách im lặng và cách diễn đạt đã cập nhật của Supported Features. Hoàn thành khi CONTRIBUTING.md liên kết đến thông tin về các giới hạn và không có hành vi nào được liệt kê là chưa được tài liệu hóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

#388 removed the Limitations bullet from CONTRIBUTING.md to drop one stale sentence about operators. The bullet also carried four statements that are still true and are now documented nowhere:

  • member function templates are not matched as conformance candidates (#393);
  • conformance accounts for an interface member's ref-qualifier, but the generated call wrapper does not apply it (#356);
  • there is no conversion between a protocol/protocol_view of one interface and another;
  • conformance checking is O(N*M) in the number of interface and candidate member functions.

They never really belonged in a contributing guide. Suggest a doc/limitations.md (or a Limitations section in README.md) that CONTRIBUTING.md links to, which can also list what a protocol interface rejects with a diagnostic after #388: operator=, operator co_await, the comparison operators, unary operator&, explicit-object and ref-qualified members; and what it silently ignores: static members including allocation operators, and conversion functions.

The Supported Features bullet in CONTRIBUTING.md still names only operator() and needs the same update.

Ngôn ngữ chính
C++
Star
12
Fork
4
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jbcoe/cc-protocol

Tất cả issue của jbcoe/cc-protocol

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.