Function array_pointer

Summary

#include "breeze/memory/array_pointer.hpp"

(1) array_pointer(array_pointer const &)=delete

(2) array_pointer() noexcept

(3) explicit array_pointer(T *p) noexcept

(4) array_pointer(array_pointer &&) noexcept

Function overload

Synopsis

#include "breeze/memory/array_pointer.hpp"

array_pointer(array_pointer const &)=delete

Description

Deleted copy constructor.

Source

Line 41 in breeze/memory/array_pointer.hpp.

Synopsis

#include "breeze/memory/array_pointer.hpp"

array_pointer() noexcept

Description

Constructs an array_pointer that doesn't own any array.

Postcondition
raw_pointer() == nullptr

Source

Line 52 in breeze/memory/array_pointer.hpp.

Synopsis

#include "breeze/memory/array_pointer.hpp"

explicit array_pointer(T *p) noexcept

Description

Sets the internal pointer to p, taking ownership of the pointed to array if p is non-null (in which case, the array must have been allocated with new [].

Source

Line 58 in breeze/memory/array_pointer.hpp.

Synopsis

#include "breeze/memory/array_pointer.hpp"

array_pointer(array_pointer &&) noexcept

Description

Move constructs from another array_pointer.

Source

Line 62 in breeze/memory/array_pointer.hpp.