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
t970.h
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (cint@pcroot.cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/

#include <stdio.h>

class TVector {
  int y;
public:
  TVector(int yin) { 
    y=yin; printf("TVector(%d)\n",y); fflush(stdout);
  }
  ~TVector() { 
    printf("~TVector()\n"); fflush(stdout);
  }
  int Get() const { return y; }
};

class TMatrixRow {
  int x;
public:
  TMatrixRow(int xin) { 
    x=xin; printf("TMatrixRow(%d)\n",x); fflush(stdout);
  }
  void operator=(const TVector& vec) { 
    x = vec.Get();
    printf("TMatrixRow::operator=(TVector(%d))\n",x); fflush(stdout);
  }
  ~TMatrixRow() { 
    printf("~TMatrixRow()\n"); fflush(stdout);
  }
};


back to top