Tidy up and make get_lowest_layer public

fix #379
This commit is contained in:
Vinnie Falco
2017-05-24 12:36:08 -07:00
parent 612e616978
commit 1b616fa1da
11 changed files with 60 additions and 83 deletions
-5
View File
@@ -86,11 +86,6 @@ struct F4
get_lowest_layer<next_layer_type>::type;
};
static_assert(! has_lowest_layer<F1>::value, "");
static_assert(! has_lowest_layer<F2>::value, "");
static_assert(has_lowest_layer<F3<F1>>::value, "");
static_assert(has_lowest_layer<F4<F3<F2>>>::value, "");
static_assert(std::is_same<
get_lowest_layer<F1>::type, F1>::value, "");