summaryrefslogtreecommitdiff
path: root/libcult/cult/trace/null/stream.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libcult/cult/trace/null/stream.txx')
-rw-r--r--libcult/cult/trace/null/stream.txx18
1 files changed, 18 insertions, 0 deletions
diff --git a/libcult/cult/trace/null/stream.txx b/libcult/cult/trace/null/stream.txx
new file mode 100644
index 0000000..e9ab70c
--- /dev/null
+++ b/libcult/cult/trace/null/stream.txx
@@ -0,0 +1,18 @@
+// file : cult/trace/null/stream.txx
+// author : Boris Kolpackov <boris@kolpackov.net>
+// copyright : Copyright (c) 2005-2010 Boris Kolpackov
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+namespace Cult
+{
+ namespace Trace
+ {
+ template <typename T>
+ inline
+ Record&
+ operator<< (Stream::Mediator const& mc, T const&)
+ {
+ return const_cast<stream::mediator&> (mc).r_;
+ }
+ }
+}