Skip to content
Snippets Groups Projects

Add R^dxd and R^d expressions in pugs' language (with d=1,2 or 3)

1 file
+ 20
4
Compare changes
  • Side-by-side
  • Inline
@@ -98,7 +98,11 @@ class AffectationExecutor final : public IAffectationExecutor
if constexpr (m_is_defined) {
auto stringify = [](auto&& value) {
std::ostringstream os;
os << std::boolalpha << value;
if constexpr (std::is_same_v<std::decay_t<decltype(value)>, bool>) {
os << std::boolalpha << value;
} else {
os << value;
}
return os.str();
};
@@ -445,7 +449,11 @@ class AffectationToTupleProcessor final : public AffectationToDataVariantProcess
{
auto stringify = [](auto&& value) {
std::ostringstream os;
os << std::boolalpha << value;
if constexpr (std::is_same_v<std::decay_t<decltype(value)>, bool>) {
os << std::boolalpha << value;
} else {
os << value;
}
return os.str();
};
@@ -500,7 +508,11 @@ class AffectationToTupleFromListProcessor final : public AffectationToDataVarian
{
auto stringify = [](auto&& value) {
std::ostringstream os;
os << std::boolalpha << value;
if constexpr (std::is_same_v<std::decay_t<decltype(value)>, bool>) {
os << std::boolalpha << value;
} else {
os << value;
}
return os.str();
};
@@ -563,7 +575,11 @@ class AffectationToTupleFromListProcessor final : public AffectationToDataVarian
{
auto stringify = [](auto&& value) {
std::ostringstream os;
os << std::boolalpha << value;
if constexpr (std::is_same_v<std::decay_t<decltype(value)>, bool>) {
os << std::boolalpha << value;
} else {
os << value;
}
return os.str();
};
Loading