Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Smart pointers and const correctness #41

Open
vexyl opened this issue May 12, 2018 · 1 comment
Open

Smart pointers and const correctness #41

vexyl opened this issue May 12, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@vexyl
Copy link
Owner

vexyl commented May 12, 2018

Refactor code to use smart pointers and to be const-correct. I've already ran into a lot of issues using raw pointers. Const-correct code is less error prone and looks cleaner.

@vexyl vexyl self-assigned this May 12, 2018
@vexyl vexyl added the enhancement New feature or request label May 12, 2018
@GiantCrocodile
Copy link
Contributor

What was your issue with raw pointers? I agree that we should have const everywhere where it fits. For example every getter and functions which just print stuff to console or file should be obviously const.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants