Lingua-Identify-CLD
view release on metacpan or search on metacpan
cld-src/base/scoped_ptr.h view on Meta::CPAN
// implementation of the scoped_ptr class, and its closely-related brethren,
// scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
//
// See http://wiki/Main/ScopedPointerInterface for the spec that drove this
// file.
#include <assert.h>
#include <stdlib.h>
#include <cstddef>
#ifdef OS_EMBEDDED_QNX
// NOTE(akirmse):
// The C++ standard says that <stdlib.h> declares both ::foo and std::foo
// But this isn't done in QNX version 6.3.2 200709062316.
using std::free;
using std::malloc;
using std::realloc;
#endif
template <class C> class scoped_ptr;
template <class C, class Free> class scoped_ptr_malloc;
( run in 1.015 second using v1.01-cache-2.11-cpan-71847e10f99 )