diff --git a/expected.hpp b/expected.hpp index c2f510d..e4fa84d 100644 --- a/expected.hpp +++ b/expected.hpp @@ -590,13 +590,13 @@ struct expected_operations_base : expected_storage_base { }; // This class manages conditionally having a trivial copy constructor -// This specialization is for when T is trivially copy constructible +// This specialization is for when T and E are trivially copy constructible template struct expected_copy_base : expected_operations_base { using expected_operations_base::expected_operations_base; }; -// This specialization is for when T is not trivially copy constructible +// This specialization is for when T or E are not trivially copy constructible template struct expected_copy_base : expected_operations_base { using expected_operations_base::expected_operations_base;