5 #include <unordered_set>
7 namespace launchdarkly::server_side::evaluation {
14 Guard(std::unordered_set<std::string>& set, std::string key);
24 std::unordered_set<std::string>& set_;
25 std::string
const key_;
44 std::string prerequisite_key);
53 [[nodiscard]] std::optional<Guard>
NoticeSegment(std::string segment_key);
56 std::unordered_set<std::string> prerequisites_seen_;
57 std::unordered_set<std::string> segments_seen_;
Definition: evaluation_stack.hpp:32
std::optional< Guard > NoticePrerequisite(std::string prerequisite_key)
Definition: evaluation_stack.cpp:14
std::optional< Guard > NoticeSegment(std::string segment_key)
Definition: evaluation_stack.cpp:23
Definition: evaluation_stack.hpp:13