FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
empty_streams.h File Reference

Empty version of streams API, useful when you want to introduce traces that you can easily disable without adding preprocessor conditional compilation everywhere traces are output. More...

#include <stddef.h>
#include "ios.h"
#include "flash.h"
#include "utilities.h"
Include dependency graph for empty_streams.h:

Go to the source code of this file.

Classes

class  streams::null_ostream
 Implements an empty formatted output that does nothing. More...
 

Namespaces

namespace  streams
 Defines C++-like streams API, based on circular buffers for input or output.
 

Detailed Description

Empty version of streams API, useful when you want to introduce traces that you can easily disable without adding preprocessor conditional compilation everywhere traces are output.

Note that you shall not include "empty_streams.h" and "streams.h" in the same source file.

Definition in file empty_streams.h.