Skip to content

[Task] Move default values for variables in class definition #688

Description

@gonuke

What is this task about?

Cyclus was largely developed before the C++ standard allowed for defining default values for member variables in the header file/class declaration. In many cases, this means we have initializer lists that are based on constants that could be moved to be default definition. This task will move all constant default values to the class declaration instead of initializer lists.

Why is this task needed?

This is a best practice and reduces duplication across multiple constructors.

How can this issue be closed?

A review of all Cycamore archetypes with constant value initialization moved to the class declaration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions