From fb55fd6737902ed6270c2518bdc81a6971f9b3a1 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 10 Apr 2013 00:21:31 -0700 Subject: gras: formalize the weak container api w/ docs address issue #69, we now have a set_container call, which is now formally part of the api. Anyone can call set_container for custom container types. GRAS supports shared ptr and pyobject out of the box. --- lib/weak_container.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/weak_container.cpp (limited to 'lib/weak_container.cpp') diff --git a/lib/weak_container.cpp b/lib/weak_container.cpp new file mode 100644 index 0000000..192a2fd --- /dev/null +++ b/lib/weak_container.cpp @@ -0,0 +1,15 @@ +// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. + +#include <gras/weak_container.hpp> + +using namespace gras; + +WeakContainer::WeakContainer(void) +{ + //NOP +} + +WeakContainer::~WeakContainer(void) +{ + //NOP +} -- cgit