Skip to content

C-CTOR needs more nuance #108

Closed
Closed
@brson

Description

@brson

It mostly covers empty ctors.

It also hints via example that there exist 'conversion constructors' of the form from_foo, without describing them, but:

  • What should I do about non-empty ctors?
  • What should I do about 'secondary' constructors that are not 'conversion constructors', that e.g. take multiple arguments?
  • When should I implement from_foo vs. From<Foo>?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions