initial matador ng commit

This commit is contained in:
2025-02-02 20:37:12 +01:00
parent 19de5714f4
commit ded3daceb3
378 changed files with 14913 additions and 13431 deletions
+3 -2
View File
@@ -2,6 +2,7 @@
#define QUERY_COORDINATE_HPP
#include "matador/utils/access.hpp"
#include "matador/utils/field_attributes.hpp"
namespace matador::test {
struct coordinate
@@ -13,10 +14,10 @@ struct coordinate
}
namespace matador::utils::access {
namespace matador::access {
template<class Operator>
void attribute(Operator &op, const char *id, test::coordinate &value, const field_attributes &attr = null_attributes) {
void attribute(Operator &op, const char *id, test::coordinate &value, const utils::field_attributes &attr = utils::null_attributes) {
attribute(op, (std::string(id) + "_x").c_str(), value.x, attr);
attribute(op, (std::string(id) + "_y").c_str(), value.y, attr);
attribute(op, (std::string(id) + "_z").c_str(), value.z, attr);