From abbd7d8ec42d41fa0ce7c5a7b98ac38153ff5dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Alexandre=20Boissonneault?= Date: Sat, 2 Dec 2017 19:17:13 -0500 Subject: [PATCH] Fixed comments --- expected.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;