I plan to templatize a container class which can be used for various data types. I currently have a big concern:
- Will my gdb still work in the template? Can I set breakpoints, print values, print stack traces, etc in a class template as in a normal member function?
- Where are the limits? Are there serious restrictions or weird behavior to expect?
I'm not talking about debugging the template instantiation itself and I'm also not talking about extensive metaprogramming.
I did some research on the internet, but search results are full with real template debugging and it's hard to find an answer on this (hopefully) relatively simple question.