From 99a77dd3122282f9509e7a4ec8bfd5b14b73e929 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 26 Dec 2019 16:50:08 +0100 Subject: doc: install dependencies before building docs --- include/newtype/new_type.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/newtype/new_type.hpp b/include/newtype/new_type.hpp index 4d8ad66..0dc0ff6 100644 --- a/include/newtype/new_type.hpp +++ b/include/newtype/new_type.hpp @@ -102,6 +102,8 @@ namespace nt auto constexpr static derivations = DerivationClause; public: + using impl::new_type_storage::decay; + /** * Convert this instance into the equivalent base type value * @@ -111,7 +113,7 @@ namespace nt template * = nullptr> constexpr operator base_type() const noexcept(std::is_nothrow_copy_constructible_v) { - return this->decay(); + return decay(); } /** @@ -123,7 +125,7 @@ namespace nt template * = nullptr> explicit constexpr operator base_type() const noexcept(std::is_nothrow_copy_constructible_v) { - return this->decay(); + return decay(); } }; -- cgit v1.2.3