Exercises in this lecture  previous -- Keyboard shortcut: 'p'        Go to the slide, where this exercise belongs -- Keyboard shortcut: 'u'  

Exercise 6.1
Working with static_assert


In this program on the accompanying slide the static_assert holds.

In main, enforce a couple of other template instantiations that will cause the static_assert to fail.


Solution