0_0_38462658_626.cpp:10:22: error: 'string_literals' is not a namespace-name
using namespace std::string_literals;
^
0_0_38462658_626.cpp:10:37: error: expected namespace-name before ';' token
using namespace std::string_literals;
^
0_0_38462658_626.cpp:15:76: error: unable to find string literal operator 'operator""s'
QuadraticEquation(std::array<double, 3> factor, std::string unknownName = "x"s)
^
0_0_38462658_626.cpp:28:30: error: unable to find string literal operator 'operator""s'
std::string m_UnknownName = "x"s;
^
0_0_38462658_626.cpp: In constructor 'QuadraticEquation::QuadraticEquation(std::array<double, 3ull>, std::string)':
0_0_38462658_626.cpp:16:48: error: cannot convert 'std::array<double, 3ull>' to 'double' in initialization
: m_Factor{factor}, m_UnknownName{unknownName}
^
0_0_38462658_626.cpp: In function 'int main()':
0_0_38462658_626.cpp:162:31: error: call to 'QuadraticEquation::QuadraticEquation(std::array<double, 3ull>, std::string)' uses the default argument for parameter 2, which is not yet defined
QuadraticEquation qe{factor};
^
0_0_38462658_626.cpp:193:31: error: call to 'QuadraticEquation::QuadraticEquation(std::array<double, 3ull>, std::string)' uses the default argument for parameter 2, which is not yet defined
QuadraticEquation qe{factor};
^
|