MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / StreamPrefixer

Method StreamPrefixer

src/osvr/Server/ConfigureServer.cpp:51–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 class StreamPrefixer {
50 public:
51 StreamPrefixer(const char *prefix, std::ostream &os)
52 : m_prefix(prefix), m_os(&os) {}
53 template <typename T> std::ostream &operator<<(T val) {
54 return (*m_os) << m_prefix << val;
55 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected