jbcoe / jbcoe/cc-protocol

Allow protocol to accept non-class types

Open
#300 2 comments 0 reactions 0 assignees View on GitHub
design
Dominant language
C++
Stars
11
Forks
4
Avg merge
16h 39m
Merged PRs (30d)
131

Description

```c++
struct Interface{};

protocol p(15); // ERROR: "int is not a complete class type"
```

Should this work? I think probably yes since it will be relevant once there is complete operator support.

Contributor guide

Open the contributing guide

Research direction

Start with the protocol construction shown in the issue and trace the code path that rejects int as an incomplete class type. Determine whether non-class types should be accepted and how that relates to the mentioned operator support; the example should compile with behavior covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.