Skip to content
Snippets Groups Projects
Select Git revision
  • 2023ss
  • 2024ss default
  • 2022ss
  • 2021ss protected
4 results

pgscript.sty

Blame
  • templates-04.cpp 251 B
    #include <iostream>
    
    using std::cout;
    using std::endl;
    
    class bla
    {
      int content;
    };
    
    template <typename t>
    void print (t x)
    {
      cout << x << endl;
    }
    
    int main ()
    {
      print (42);
      print ("Hello, world!");
      bla blubb;
      print (blubb);
      return 0;
    }