More testing

This commit is contained in:
Simon Brand
2017-11-27 14:36:59 +00:00
parent c67aaff948
commit 6c4178a947
2 changed files with 1 additions and 15 deletions

View File

@@ -47,21 +47,6 @@ TEST_CASE("Deletion", "[bases.deletion]") {
REQUIRE(std::is_move_assignable<tl::optional<int>>::value);
REQUIRE(std::is_destructible<tl::optional<int>>::value);
//TODO fix
/* {
struct T {
T()=default;
};
REQUIRE(std::is_default_constructible<tl::optional<T>>::value);
}
{
struct T {
T(int);
};
REQUIRE(!std::is_default_constructible<tl::optional<T>>::value);
}
*/
{
struct T {
T(const T&) = default;