Demo 0.0.1
Example C++ project
Loading...
Searching...
No Matches
output.h
Go to the documentation of this file.
1//
2// Copyright (c) Zhanwei Wang (me@zhanwei.wang)
3// Licenced under Apache License Version 2.0. See LICENSE for details.
4//
5#ifndef DEMO_SRC_DEMO_OUTPUT_OUTPUT_H
6#define DEMO_SRC_DEMO_OUTPUT_OUTPUT_H
7
8#include <iostream>
9
10namespace demo {
14class output {
15 public:
22 output& write(std::ostream& os, std::string_view str);
23};
24} // namespace demo
25
26#endif // DEMO_SRC_DEMO_OUTPUT_OUTPUT_H
Output information to output stream.
Definition output.h:14
output & write(std::ostream &os, std::string_view str)
Write information to given output stream. demo::greeting()
Definition output.cpp:8
Definition greeting.cpp:12