Scopira 20080306

Debugging output

In scopira/tool/output.h is defined OUTPUT, a basic stream that is almost always available. It is useful for debugging and other output.

This stream is of type scopira::tool::oflow_i. You may also define your own << operators for this type. For examples, please see tool/flow.h

  #include <scopria/tool/output.h>
  int main(void)
  {
    OUTPUT << "Hello, world.\n";
  }