Skip to content

[C++] Change struct to class for objects that meet the criteria in the Google style guide #16394

@asfimport

Description

@asfimport

See https://google.github.io/styleguide/cppguide.html#Structs_vs._Classes. I have suspected that the types in type.h should be classes, but this suggests it pretty strongly. It would be better to address this sooner rather than later.

We should also make the member access functions instead of bare attributes, e.g. type->id() instead of type->type

Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney / @wesm

Related issues:

Note: This issue was originally created as ARROW-782. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions