diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-21 18:08:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-21 18:08:39 +0200 |
commit | 221f0250fcd7cba4fa4b5e4fd6c0d410eb6e5811 (patch) | |
tree | 3ea5eca558f612fcc9b27db2778d4bfa47e38556 /bpkg/types | |
parent | 9792fc9d137b4dd702360ac0242f9a7a26e675c2 (diff) |
Implement rep-add command
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; |