From 221f0250fcd7cba4fa4b5e4fd6c0d410eb6e5811 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 21 Sep 2015 18:08:39 +0200 Subject: Implement rep-add command --- bpkg/types | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'bpkg/types') diff --git a/bpkg/types b/bpkg/types index 648c0f1..97b9ed9 100644 --- a/bpkg/types +++ b/bpkg/types @@ -7,9 +7,11 @@ #include #include -#include // shared_ptr +#include // shared_ptr, unique_ptr #include +#include + #include #include @@ -22,11 +24,19 @@ namespace bpkg using strings = std::vector; using cstrings = std::vector; - 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; + // // using butl::path; -- cgit v1.1