#include <array>
#include <cstdint>
#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <vector>
#include "absl/log/check.h"
#include "absl/log/die_if_null.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "ortools/base/status_builder.h"
#include "ortools/math_opt/elemental/attr_key.h"
#include "ortools/math_opt/elemental/attr_storage.h"
#include "ortools/math_opt/elemental/derived_data.h"
#include "ortools/math_opt/elemental/diff.h"
#include "ortools/math_opt/elemental/element_ref_tracker.h"
#include "ortools/math_opt/elemental/element_storage.h"
#include "ortools/math_opt/elemental/elements.h"
#include "ortools/math_opt/elemental/thread_safe_id_map.h"
#include "ortools/math_opt/model.pb.h"
#include "ortools/math_opt/model_update.pb.h"
Go to the source code of this file.
◆ ELEMENTAL_RETURN_IF_ERROR
#define ELEMENTAL_RETURN_IF_ERROR |
( |
| expr | ) |
|
Value: { \
auto error = (expr); \
if constexpr (!std::is_same_v<decltype(error), AlwaysOk>) { \
if (!error.ok()) { \
return error; \
} \
} \
}
Definition at line 423 of file elemental.h.