From 8e761289a2446367267c6c0d9a26e734f0f78306 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 16 Dec 2020 20:29:05 +0300 Subject: Get rid of legacy build systems and rename cutl/ to libcutl/ --- cutl/compiler/code-stream.txx | 93 ------------------------------------------- 1 file changed, 93 deletions(-) delete mode 100644 cutl/compiler/code-stream.txx (limited to 'cutl/compiler/code-stream.txx') diff --git a/cutl/compiler/code-stream.txx b/cutl/compiler/code-stream.txx deleted file mode 100644 index b0d2261..0000000 --- a/cutl/compiler/code-stream.txx +++ /dev/null @@ -1,93 +0,0 @@ -// file : cutl/compiler/code-stream.txx -// license : MIT; see accompanying LICENSE file - -namespace cutl -{ - namespace compiler - { - // code_stream - // - - template - code_stream::~code_stream () - { - } - - // from_streambuf_adapter - // - - template - void from_streambuf_adapter:: - put (C c) - { - int_type i (stream_.sputc (c)); - - if (i == traits_type::eof ()) - throw eof (); - } - - template - void from_streambuf_adapter:: - unbuffer () - { - if (stream_.pubsync () != 0) - throw sync (); - } - - // to_streambuf_adapter - // - - template - typename to_streambuf_adapter::int_type to_streambuf_adapter:: - overflow (int_type i) - { - try - { - stream_.put (traits_type::to_char_type (i)); - return i; - } - catch (typename from_streambuf_adapter::eof const&) - { - return traits_type::eof (); - } - } - - template - int to_streambuf_adapter:: - sync () - { - return 0; - } - - // ostream_filter - // - - template