Skip to content

Offer alternative to FOR_STAT_ARRAY? #4

@mspraggs

Description

@mspraggs

General advice I've read suggests that macros should be avoided where possible in C++ as it makes debugging harder. With that in mind, could we offer an alternative to FOR_STAT_ARRAY in LatAnalyze3?

One idea I had would be to simply offer a member function in the Sample class that accepts a lambda function that accepts an index, say, then runs that function under a for loop, as is currently coded in FOR_STAT_ARRAY.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions