Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Glad you enjoyed it. If you're pretty certain of this error, you can post a bug/issue at: https://github.com/Codewars/codewars.com/issues
Try to provide any information that may be relevant.
Thanks for the kind words. The
Image
constructors in C++ are:Have you already realised what's wrong in your question? Those params are refer to lambda "sum" function. Not to accumulate.
Thank you!
It seems to be a problem with your class template static member declaration and definition (StackOverflow). Keywords for googling: "c++ class template undefined reference to static member".
Short answer: static data members must be declared and defined (until C++17, which introduces "inline constexpr static members", see reference).