Hi Anton,
In your LinkDef file, add a statement like
#pragma link C++ function operator<<(ostream&, TDate&);
You can see examples of more operator pragmas in
$ROOTSYS/base/inc/LinkDef1.h
Rene Brun
Anton Fokin wrote:
>
> Hi rooters,
>
> I've defined
>
> ostream& operator << (ostream& s, TDate Date)
> {
> return s << Date.AsString().Data();
> }
>
> How can I get it visible in CINT? Should I add something in LinkDef.h file?
> What exactly?
>
> Regards,
> Anton
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET