Skip to content

Question: Why not T: ?Sized? #6

@simnalamburt

Description

@simnalamburt

Currently, circ users can still use it with !Sized types, albeit a bit inconveniently, by coding like AtomicRc<Box<T>>. If the fat pointer is bothersome, AtomicRc<ThinBox<T>> could be used instead. It would be more convenient if circ handled this automatically. Is there a specific reason circ only supports Sized types?

(This is probably a question I could answer by reading the code, but I haven’t had a chance to look into it deeply. Sorry, haha ;) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions