Skip to content

Use C++ references and typecasting #81

Description

@Niuslar

Most of the code uses pointers instead of references. Since references are safer (no null value can be passed), it might be worth changing pointers to references where possible.

The other thing that could be improved is to use C++-style casts instead of the classic C-style casts. As @FrozenOxide mentioned, C++ checks at compile time, while C-style doesn't.

  • Change pointers to references
  • Change C-style cast to C++ style

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions