forked from TartanLlama/optional
Fix trivially destructible comment
This commit is contained in:
@ -321,8 +321,8 @@ struct is_nothrow_swappable
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// The storage base manages the actual storage, and correctly propagates
|
// The storage base manages the actual storage, and correctly propagates
|
||||||
// trivial destruction from T This case is for when T is trivially
|
// trivial destruction from T. This case is for when T is not trivially
|
||||||
// destructible
|
// destructible.
|
||||||
template <class T, bool = ::std::is_trivially_destructible<T>::value>
|
template <class T, bool = ::std::is_trivially_destructible<T>::value>
|
||||||
struct optional_storage_base {
|
struct optional_storage_base {
|
||||||
TL_OPTIONAL_11_CONSTEXPR optional_storage_base() noexcept
|
TL_OPTIONAL_11_CONSTEXPR optional_storage_base() noexcept
|
||||||
|
Reference in New Issue
Block a user