https://github.com/root-project/root
Raw File
Tip revision: 2cd3aafb76e161c5e687de877863ffeb4022b4b0 authored by Gerardo Ganis on 11 June 2012, 16:52:22 UTC
Import patch r44048 removing the automatic creation of TDrawFeedback in TProofChain
Tip revision: 2cd3aaf
simple19.cxx
#ifdef __hpux
#include <iostream.h>
#else
#include <iostream>
using namespace std;
#endif

template <class tp>
void printstatement(tp stm)
{
  cout << "Argument is : " << stm << endl;
}

class test
{
public:
  test(void) {
     const char * stm = "long message";
     cout << "Argument is : " << stm << endl;
     printstatement("This is a very long string");
  }
};

int main() {
   const char * stm = "long message";
   cout << "Argument is : " << stm << endl;
   printstatement("This is a very long string");
  test *Test=new test;
}
back to top