Skip to content

Commit 5e22a5f

Browse files
committed
add message to Impl check
1 parent b21206d commit 5e22a5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

polymorphism/include/polymorphism/impl_without_interface.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class Impl {
2020
};
2121

2222
// Check if the class adheres to the concept (i.e. has the interface we want it to have).
23-
static_assert(has_super_cool_features<Impl>);
23+
static_assert(has_super_cool_features<Impl>,
24+
"Impl class does not meet the requirements of the has_super_cool_features concept");
2425

2526
} // namespace modern
2627

0 commit comments

Comments
 (0)