SpECTRE
v2024.12.16
|
Provide multiple ways to construct a class. More...
#include <Options.hpp>
Provide multiple ways to construct a class.
This type may be included in an option list along with option tags. When creating the class, the parser will choose one of the lists of options to use, depending on the user input.
The class must be prepared to accept any of the possible alternatives as arguments to its constructor. To disambiguate multiple alternatives with the same types, a constructor may take the full list of option tags expected as its first argument.