From d78a6ade1046d7914339e73d6ca25278ea9bd165 Mon Sep 17 00:00:00 2001 From: Robert Ramey Date: Fri, 26 Feb 2016 09:43:15 -0800 Subject: [PATCH] removed commented out code from safe_base --- include/safe_base.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/safe_base.hpp b/include/safe_base.hpp index 37ec79d..da5ed26 100644 --- a/include/safe_base.hpp +++ b/include/safe_base.hpp @@ -185,11 +185,6 @@ public: // constructors constexpr explicit safe_base(const Stored & rhs, std::false_type); - /* - constexpr explicit safe_base(const Stored & rhs) : - m_t(validated_cast(rhs)) - {} - */ // default constructor constexpr explicit safe_base() { // this permits creating of invalid instances. This is inline @@ -206,10 +201,6 @@ public: template constexpr /*explicit*/ safe_base(const T & t); - //constexpr safe_base(const safe_base & rhs) : - // m_t(rhs.m_t) - //{} - // note: Rule of Five. Don't specify // custom destructor, custom destructor, custom assignment // custom move, custom move assignment