Skip to content

Remove unnecessary typedef's #181

@ischoegl

Description

@ischoegl

Abstract

A major version step from 2.6 to 3.0 could be used to remove some legacy typedef's where using standard types would clarify what those types are (after introducing using std::vector;, savings of length are mostly marginal)

There are two different 'compositions', which are identical (one typedef is worth keeping in this instance):

It would also be possible to eliminate std:: in many instances (due to newly introduced using std::xyz:

Motivation

Improve readability of code (and Doxygen documentation):

  • using standard types where applicable ensures that new users understand what types are being used
  • new features oftentimes leverage existing code, where copy/paste of outdated syntax perpetuates issues, leading to unnecessary review feedback (if caught)
  • shorten function signatures (if std:: is omitted where possible)

Possible Solutions

Simple find/replace in *.h/*.cpp files.

Metadata

Metadata

Assignees

Labels

work-in-progressAn enhancement that someone is currently working on

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions