This commit is contained in:
Baptiste Wicht 2016-09-08 12:49:48 +02:00
parent e2dc653863
commit 587dd7cb90

View File

@ -561,7 +561,7 @@ inline expected<void> make_expected(){
// Make sure the size is maintained reasonable
static_assert(sizeof(expected<void>) == 2 * sizeof(size_t), "expected<void> should not have overhead");
static_assert(sizeof(expected<size_t>) == 2 * sizeof(size_t), "expected<void> should not have overhead");
static_assert(sizeof(expected<size_t>) == 2 * sizeof(size_t), "expected<size_t> should not have overhead");
} //end of namespace std