PHP 8.3.31
Preview: errc.hpp Size: 1.45 KB
/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp

#ifndef BOOST_SYSTEM_ERRC_HPP_INCLUDED
#define BOOST_SYSTEM_ERRC_HPP_INCLUDED

// Copyright Beman Dawes 2006, 2007
// Copyright Christoper Kohlhoff 2007
// Copyright Peter Dimov 2017, 2018, 2020
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See library home page at http://www.boost.org/libs/system

#include <boost/system/detail/errc.hpp>
#include <boost/system/detail/error_code.hpp>
#include <boost/system/detail/error_condition.hpp>
#include <boost/system/detail/generic_category.hpp>
#include <boost/system/detail/error_category_impl.hpp>
#include <boost/system/detail/config.hpp>
#include <boost/assert/source_location.hpp>
#include <boost/config.hpp>

namespace boost
{

namespace system
{

// make_* functions for errc::errc_t

namespace errc
{

// explicit conversion:
BOOST_SYSTEM_CONSTEXPR inline error_code make_error_code( errc_t e ) noexcept
{
    return error_code( e, generic_category() );
}

// explicit conversion:
inline error_code make_error_code( errc_t e, boost::source_location const * loc ) noexcept
{
    return error_code( e, generic_category(), loc );
}

// implicit conversion:
BOOST_SYSTEM_CONSTEXPR inline error_condition make_error_condition( errc_t e ) noexcept
{
    return error_condition( e, generic_category() );
}

} // namespace errc

} // namespace system

} // namespace boost

#endif // #ifndef BOOST_SYSTEM_ERRC_HPP_INCLUDED

Directory Contents

Dirs: 1 × Files: 11

Name Size Perms Modified Actions
detail DIR
- drwxr-xr-x 2026-02-11 07:32:10
Edit Download
1.79 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.73 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.45 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download
460 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
773 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
464 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
468 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
697 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
722 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
520 B lrw-r--r-- 2026-01-27 23:50:52
Edit Download
1.57 KB lrw-r--r-- 2026-01-27 23:50:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).