3838#include < boost/iterator/counting_iterator.hpp>
3939#endif
4040#include < Core/Datatypes/DatatypeFwd.h>
41+ #include < Core/Algorithms/Base/AlgorithmFwd.h>
4142#include < Core/Algorithms/Base/Name.h>
4243#include < Core/Algorithms/Base/Option.h>
4344#include < Core/Algorithms/Base/share.h>
@@ -49,16 +50,15 @@ namespace Algorithms {
4950 class SCISHARE Variable
5051 {
5152 public:
52- typedef std::vector<Variable> List;
53-
54- typedef boost::variant<
53+ using List = std::vector<Variable>;
54+ using Value = boost::variant<
5555 int ,
5656 double ,
5757 std::string,
5858 bool ,
5959 AlgoOption,
6060 List
61- > Value ;
61+ >;
6262
6363 Variable () {}
6464 Variable (const Name& name, const Value& value);
@@ -109,7 +109,7 @@ namespace Algorithms {
109109 Variable::List makeNamedVariableList (const Name (&namesList)[N], Ts&&... params)
110110 {
111111 std::vector<Variable::Value> values{ params... };
112-
112+
113113 auto namesIter = &namesList[0 ];
114114 Variable::List vars;
115115 std::transform (values.begin (), values.end (), std::back_inserter (vars),
@@ -139,7 +139,7 @@ namespace Algorithms {
139139
140140 typedef Variable AlgorithmParameter;
141141 typedef Variable::List VariableList;
142- typedef Datatypes:: SharedPointer<Variable> VariableHandle;
142+ typedef SharedPointer<Variable> VariableHandle;
143143
144144}
145145
0 commit comments