Stack Factory Puzzle -- Alex Marmer
When instances of classes derived from the same class need to be created based on certain conditions, they are created on the heap. The puzzle is about how to do it on the stack.
Stack Factory Puzzle
By Alex Marmer

Have you registered for CppCon 2018 in September?
Have you registered for CppCon 2018 in September?