title: Will my gdb work when using templates?
body: <p>I plan to templatize a container class which can be used for various data types. I currently have a big concern:</p>
  
  <ul>
  <li>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?</li>
  <li>Where are the limits? Are there serious restrictions or weird behavior to expect?</li>
  </ul>
  
  <p>I'm not talking about debugging the template instantiation itself and I'm also not talking about extensive metaprogramming.</p>
  
  <p>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.</p>