aboutsummaryrefslogtreecommitdiff
path: root/include/atp/core/clause_store.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-03 02:46:12 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-03 02:46:12 +0800
commit9ab592ce3765d07b6dbdb9c1d9b62dc8045e784e (patch)
tree5b2bf93147980c5dabef80eff4c6209caa95f034 /include/atp/core/clause_store.h
parent1e35f078fe5ace02b22e6f4ba89f57ba4a58b8c9 (diff)
downloadratp-9ab592ce3765d07b6dbdb9c1d9b62dc8045e784e.tar.gz
ratp-9ab592ce3765d07b6dbdb9c1d9b62dc8045e784e.tar.xz
feat: implement core term, symbol, and clause storage logic with canonicalization support
Diffstat (limited to 'include/atp/core/clause_store.h')
-rw-r--r--include/atp/core/clause_store.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/atp/core/clause_store.h b/include/atp/core/clause_store.h
index 6e220cc..23db996 100644
--- a/include/atp/core/clause_store.h
+++ b/include/atp/core/clause_store.h
@@ -54,6 +54,9 @@ class ClauseStore {
/// Iterate over all clauses with a visitor.
void forEach(const std::function<void(const Clause&)>& visitor) const;
+ // function may have type erasure overhead, consider using a template
+ // template <typename Visitor>
+ // void forEach(Visitor&& visitor) const;
private:
std::vector<Clause> clauses_;