DRAFT.md: `protocol` synopsis disagrees with the implementation on assignment, `noexcept` and the destructor
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
- 52/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả 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
Start with the protocol synopsis in DRAFT.md and compare it with the declarations in xyz/protocol.hh, using polymorphic in P3019 as the reference. Check the allocator-extended move constructor's noexcept specification, the missing copy and move assignment operators, and the destructor's constexpr status. Done means the synopsis matches the implementation on those three points, and OUTLINE.md is left unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Three places where the protocol synopsis in DRAFT.md matches neither xyz/protocol.hh nor P3019's polymorphic. OUTLINE.md already lists the default constructor, the narrowing constructors and the "identical constexpr" claim as R3 corrections. These are not on that list.
- The allocator-extended move constructor is unconditionally
noexcept. With unequal allocators it allocates and move-constructs the owned object, so it can throw. The implementation andpolymorphicusenoexcept(allocator_traits<Allocator>::is_always_equal::value). #194 covers the semantics; the synopsis needs the matching exception specification. The allocator-extended narrowing move constructor has the same problem if narrowing stays (#88). - There are no assignment operators. The synopsis declares neither copy nor move assignment. The implementation has both, generated conditionally like the constructors. Move assignment is
noexceptwhen the allocator is always equal or propagates on move assignment, as inpolymorphic. - The destructor is not
constexpr. The implementation's andpolymorphic's are.
- 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
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.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của jbcoe/cc-protocol
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
jbcoe/cc-protocol#507 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
jbcoe/cc-protocol#455 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jbcoe/cc-protocol#407 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
jbcoe/cc-protocol#194 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
jbcoe/cc-protocol#513 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của jbcoe/cc-protocol
Issue tương tự
-
clang:frontend clang:openmp crash
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
llvm/llvm-project#245442 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ai_p1 comp-sql-syntax
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
ClickHouse/ClickHouse#133888 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: firestore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
firebase/firebase-ios-sdk#17105 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày