https://github.com/root-project/root
Raw File
Tip revision: 22d7c5ef66b63bcb671e239b33ba499aa4e2d6a2 authored by Lorenzo Moneta on 19 November 2013, 15:49:10 UTC
Add skipping of n quasi random numbers
Tip revision: 22d7c5e
t627.h
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (root-cint@cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/

#include <stdio.h>

class TGC {
 public:
  float operator()(int x=1) {
    printf("TGC::operator()(%d)\n",x);
    return (float)1.23*x;
  }
};

TGC dx;

TGC& GetDefaultGC() {
  printf("GetDefaultGC()\n");
  return dx;
}

void f(float x) {
  printf("f(x=%g)\n",x);
}
back to top