Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:27

0001 //
0002 // Copyright (c) 2015-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/beast
0008 //
0009 
0010 #ifndef BOOST_BEAST_CORE_FILE_HPP
0011 #define BOOST_BEAST_CORE_FILE_HPP
0012 
0013 #include <boost/beast/core/detail/config.hpp>
0014 #include <boost/beast/core/file_base.hpp>
0015 #include <boost/beast/core/file_posix.hpp>
0016 #include <boost/beast/core/file_stdio.hpp>
0017 #include <boost/beast/core/file_win32.hpp>
0018 
0019 namespace boost {
0020 namespace beast {
0021 
0022 /** An implementation of File.
0023 
0024     This alias is set to the best available implementation
0025     of <em>File</em> given the platform and build settings.
0026 */
0027 #if BOOST_BEAST_DOXYGEN
0028 struct file : file_stdio
0029 {
0030 };
0031 #else
0032 #if BOOST_BEAST_USE_WIN32_FILE
0033 using file = file_win32;
0034 #elif BOOST_BEAST_USE_POSIX_FILE
0035 using file = file_posix;
0036 #else
0037 using file = file_stdio;
0038 #endif
0039 #endif
0040 
0041 } // beast
0042 } // boost
0043 
0044 #endif