is_file is in file_base.hpp (API Change):

* The metafunction `is_file` is part of file_base.hpp

Actions Required

* Include file_base.hpp as needed
This commit is contained in:
Vinnie Falco
2019-02-05 09:56:49 -08:00
parent 44d9eaba4d
commit 8ea8f41bba
10 changed files with 94 additions and 77 deletions
+1
View File
@@ -45,6 +45,7 @@ add_executable (tests-beast-core
dynamic_buffer_ref.cpp
error.cpp
file.cpp
file_base.cpp
file_posix.cpp
file_stdio.cpp
file_win32.cpp
+1
View File
@@ -33,6 +33,7 @@ local SOURCES =
dynamic_buffer_ref.cpp
error.cpp
file.cpp
file_base.cpp
file_posix.cpp
file_stdio.cpp
file_win32.cpp
+11
View File
@@ -0,0 +1,11 @@
//
// Copyright (c) 2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
// Test that header file is self-contained.
#include <boost/beast/core/file_base.hpp>
+2 -1
View File
@@ -10,8 +10,9 @@
#ifndef BOOST_BEAST_FILE_TEST_HPP
#define BOOST_BEAST_FILE_TEST_HPP
#include <boost/beast/core/type_traits.hpp>
#include <boost/beast/_experimental/unit_test/suite.hpp>
#include <boost/beast/core/string.hpp>
#include <boost/beast/core/file_base.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <cstdio>
+1
View File
@@ -14,6 +14,7 @@
#include <boost/beast/core/flat_buffer.hpp>
#include <boost/beast/core/flat_static_buffer.hpp>
#include <boost/beast/core/multi_buffer.hpp>
#include <boost/beast/core/string.hpp>
#include <boost/beast/_experimental/unit_test/suite.hpp>
#include <ostream>