Pull Request №676 RosettaCommons/rosetta/main ← everyday847/rosetta/origin/everyday847/parametric_helpers
Merge: 5c9f6db69d1a20db6353738e3724092516415bd3←3fec048183eb354c26030092edabd404582c57bf
Factor common logic out of add_*_parameter methods
----------------
Merge commit message:
Factor common logic out of add_*_parameter methods
Extract a private configure_and_add_parameter() helper that handles
the shared configuration steps (name, description, units, type,
capabilities, global flag) and add_parameter() call. Each
add_*_parameter() and add_custom_parameter() now only constructs the
type-specific object, sets any conditional default value, and
delegates to the helper. Also replace bare new with make_shared.