removed commented out code from safe_base

This commit is contained in:
Robert Ramey
2016-02-26 09:43:15 -08:00
parent c068524b45
commit d78a6ade10

View File

@@ -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<class T>
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