Add protocol_view<T> and protocol_view<const T> (18/20) - #118
Draft
jbcoe wants to merge 1 commit into
Draft
Conversation
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 11:33
27d926c to
2d39def
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 11:33
9d0f043 to
ccf7f63
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 14:22
2d39def to
1b7b545
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 14:22
ccf7f63 to
357f971
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 14:27
1b7b545 to
40715e8
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 14:27
357f971 to
1e62cfd
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 14:30
40715e8 to
3681824
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 14:30
1e62cfd to
442c07b
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 15:14
3681824 to
812a327
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 15:14
442c07b to
45cd500
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 15:29
812a327 to
1bb9691
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 15:29
45cd500 to
53df339
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 18:27
1bb9691 to
ab0371a
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 18:27
53df339 to
1ca29c9
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 19:37
ab0371a to
ea2f9b2
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 19:37
1ca29c9 to
db2a0dd
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 28, 2026 20:23
ea2f9b2 to
5f3c52d
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 28, 2026 20:23
db2a0dd to
cd1661a
Compare
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 29, 2026 09:48
5f3c52d to
6fc90b8
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 29, 2026 09:48
cd1661a to
7207351
Compare
Non-owning views dispatching through a raw pointer/vtable pair instead of protocol's allocator-owned storage, reusing the same forwarder-combinator and thunk machinery; the const view exposes only const members, through a const void*.
jbcoe
force-pushed
the
reflection/16-narrowing-a-subset
branch
from
July 29, 2026 10:14
6fc90b8 to
75180f7
Compare
jbcoe
force-pushed
the
reflection/17-protocol-view
branch
from
July 29, 2026 10:14
7207351 to
0e0d4bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Non-owning views dispatching through a raw pointer/vtable pair
instead of protocol's allocator-owned storage, reusing the same
forwarder-combinator and thunk machinery; the const view exposes
only const members, through a const void*.