Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-17 08:52:04

0001 // Copyright (c) 2018-2025 Jean-Louis Leroy
0002 // Distributed under the Boost Software License, Version 1.0.
0003 // See accompanying file LICENSE_1_0.txt
0004 // or copy at http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 #ifndef BOOST_OPENMETHOD_POLICIES_STANDARD_ERROR_OUTPUT_HPP
0007 #define BOOST_OPENMETHOD_POLICIES_STANDARD_ERROR_OUTPUT_HPP
0008 
0009 #include <boost/openmethod/preamble.hpp>
0010 #include <boost/openmethod/detail/ostdstream.hpp>
0011 
0012 namespace boost::openmethod::policies {
0013 
0014 //! @ref Writes to the C standard error stream.
0015 //!
0016 //! `stderr_output` writes to standard error using the C API.
0017 struct stderr_output : output {
0018     //! An OutputFn metafunction.
0019     template<class Registry>
0020     struct fn {
0021         //! A @ref LightweightOuputStream.
0022         static detail::ostderr os;
0023     };
0024 };
0025 
0026 template<class Registry>
0027 detail::ostderr stderr_output::fn<Registry>::os;
0028 
0029 } // namespace boost::openmethod::policies
0030 
0031 #endif