summaryrefslogtreecommitdiffhomepage
path: root/main-window/mixin-traits.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-14 08:41:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-24 00:43:03 +0200
commit5c716a65a38dfdf79fa0a64e9c25b49d6e722326 (patch)
tree113dd347a7524b7d1488f0fb62d62dc463d5c0be /main-window/mixin-traits.cpp
parenta1331665376533b93336af0956728b51542950e4 (diff)
fix
Diffstat (limited to 'main-window/mixin-traits.cpp')
-rw-r--r--main-window/mixin-traits.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/main-window/mixin-traits.cpp b/main-window/mixin-traits.cpp
index f914605e..a374eade 100644
--- a/main-window/mixin-traits.cpp
+++ b/main-window/mixin-traits.cpp
@@ -3,7 +3,7 @@
#ifdef MIXIN_TRAIT_TESTS
# include "mixin-traits.hpp"
-namespace mixins::traits_detail {
+//namespace mixins::traits_detail {
struct A {};
struct B : A {};
@@ -16,22 +16,23 @@ template<> struct mixin_traits<B>
template<> struct mixin_traits<A>
{
- using depends = tuple<B>;
+ using depends = tuple<>;
};
template<> struct mixin_traits<C>
{
- using depends = tuple<B, A>;
+ using depends = tuple<A>;
};
extern void test1();
void test1()
{
- //impl<A> fail1;
+ //impl<C> fail1;
impl<B> ok1;
+ impl<A> ok2;
}
-} // ns mixins::traits_detail
+//} // ns mixins::traits_detail
#endif