aboutsummaryrefslogtreecommitdiff
path: root/bpkg/types
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/types')
-rw-r--r--bpkg/types16
1 files changed, 13 insertions, 3 deletions
diff --git a/bpkg/types b/bpkg/types
index 648c0f1..97b9ed9 100644
--- a/bpkg/types
+++ b/bpkg/types
@@ -7,9 +7,11 @@
#include <vector>
#include <string>
-#include <memory> // shared_ptr
+#include <memory> // shared_ptr, unique_ptr
#include <ostream>
+#include <odb/lazy-ptr.hxx>
+
#include <butl/path>
#include <butl/optional>
@@ -22,11 +24,19 @@ namespace bpkg
using strings = std::vector<string>;
using cstrings = std::vector<const char*>;
- using std::shared_ptr;
-
using butl::optional;
using butl::nullopt;
+ // Smart pointers
+ //
+ using std::unique_ptr;
+
+ using std::shared_ptr;
+ using std::weak_ptr;
+
+ using odb::lazy_shared_ptr;
+ using odb::lazy_weak_ptr;
+
// <butl/path>
//
using butl::path;