diff options
Diffstat (limited to 'bpkg/types')
-rw-r--r-- | bpkg/types | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -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; |