Commit a04f0617 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#859 Parameter: add const_unique_ptr alias.

parent 9ccbafe6
...@@ -67,6 +67,9 @@ namespace HappyHeart ...@@ -67,6 +67,9 @@ namespace HappyHeart
//! Alias to unique pointer. //! Alias to unique pointer.
using unique_ptr = std::unique_ptr<self>; using unique_ptr = std::unique_ptr<self>;
//! Alias to unique pointer to const object.
using const_unique_ptr = std::unique_ptr<const self>;
//! Alias to array of unique pointer. //! Alias to array of unique pointer.
template<std::size_t N> template<std::size_t N>
using array_unique_ptr = std::array<unique_ptr, N>; using array_unique_ptr = std::array<unique_ptr, N>;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment