Add include/experimental/bits dir
From-SVN: r228645
This commit is contained in:
parent
f869c12f4c
commit
ea4554eaea
@ -650,7 +650,6 @@ experimental_headers = \
|
||||
${experimental_srcdir}/array \
|
||||
${experimental_srcdir}/chrono \
|
||||
${experimental_srcdir}/deque \
|
||||
${experimental_srcdir}/erase_if.h \
|
||||
${experimental_srcdir}/forward_list \
|
||||
${experimental_srcdir}/functional \
|
||||
${experimental_srcdir}/iterator \
|
||||
@ -664,7 +663,6 @@ experimental_headers = \
|
||||
${experimental_srcdir}/set \
|
||||
${experimental_srcdir}/string \
|
||||
${experimental_srcdir}/string_view \
|
||||
${experimental_srcdir}/string_view.tcc \
|
||||
${experimental_srcdir}/system_error \
|
||||
${experimental_srcdir}/tuple \
|
||||
${experimental_srcdir}/type_traits \
|
||||
@ -673,15 +671,24 @@ experimental_headers = \
|
||||
${experimental_srcdir}/vector \
|
||||
${experimental_filesystem_headers}
|
||||
|
||||
experimental_bits_srcdir = ${glibcxx_srcdir}/include/experimental/bits
|
||||
experimental_bits_builddir = ./experimental/bits
|
||||
experimental_bits_headers = \
|
||||
${experimental_bits_srcdir}/erase_if.h \
|
||||
${experimental_bits_srcdir}/string_view.tcc \
|
||||
${experimental_bits_filesystem_headers}
|
||||
|
||||
if ENABLE_FILESYSTEM_TS
|
||||
experimental_filesystem_headers = \
|
||||
${experimental_srcdir}/filesystem \
|
||||
${experimental_srcdir}/fs_dir.h \
|
||||
${experimental_srcdir}/fs_fwd.h \
|
||||
${experimental_srcdir}/fs_ops.h \
|
||||
${experimental_srcdir}/fs_path.h
|
||||
${experimental_srcdir}/filesystem
|
||||
experimental_bits_filesystem_headers = \
|
||||
${experimental_bits_srcdir}/fs_dir.h \
|
||||
${experimental_bits_srcdir}/fs_fwd.h \
|
||||
${experimental_bits_srcdir}/fs_ops.h \
|
||||
${experimental_bits_srcdir}/fs_path.h
|
||||
else
|
||||
experimental_filesystem_headers =
|
||||
experimental_bits_filesystem_headers =
|
||||
endif
|
||||
|
||||
# This is the common subset of C++ files that all three "C" header models use.
|
||||
@ -968,8 +975,8 @@ endif
|
||||
allstamped = \
|
||||
stamp-std stamp-bits stamp-bits-sup stamp-c_base stamp-c_compatibility \
|
||||
stamp-backward stamp-ext stamp-pb stamp-tr1 stamp-tr2 stamp-decimal \
|
||||
stamp-experimental stamp-debug stamp-parallel stamp-profile \
|
||||
stamp-profile-impl stamp-host
|
||||
stamp-experimental stamp-experimental-bits stamp-debug stamp-parallel \
|
||||
stamp-profile stamp-profile-impl stamp-host
|
||||
|
||||
# List of all files that are created by explicit building, editing, or
|
||||
# catenation.
|
||||
@ -1097,6 +1104,11 @@ stamp-experimental: ${experimental_headers}
|
||||
@-cd ${experimental_builddir} && $(LN_S) $? . 2>/dev/null
|
||||
@$(STAMP) stamp-experimental
|
||||
|
||||
stamp-experimental-bits: ${experimental_bits_headers}
|
||||
@-mkdir -p ${experimental_bits_builddir}
|
||||
@-cd ${experimental_bits_builddir} && $(LN_S) $? . 2>/dev/null
|
||||
@$(STAMP) stamp-experimental-bits
|
||||
|
||||
stamp-debug: ${debug_headers}
|
||||
@-mkdir -p ${debug_builddir}
|
||||
@-cd ${debug_builddir} && $(LN_S) $? . 2>/dev/null
|
||||
@ -1369,6 +1381,9 @@ install-headers:
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${experimental_builddir}
|
||||
for file in ${experimental_headers}; do \
|
||||
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${experimental_builddir}; done
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${experimental_bits_builddir}
|
||||
for file in ${experimental_bits_headers}; do \
|
||||
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${experimental_bits_builddir}; done
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
|
||||
for file in ${c_base_headers}; do \
|
||||
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
|
||||
@ -1415,9 +1430,11 @@ clean-local:
|
||||
# be made.)
|
||||
.PRECIOUS: $(std_headers) $(c_base_headers) $(tr1_headers) $(tr2_headers)
|
||||
$(decimal_headers) $(ext_headers) $(experimental_headers)
|
||||
$(experimental_bits_headers)
|
||||
$(std_headers): ; @:
|
||||
$(c_base_headers): ; @:
|
||||
$(tr1_headers): ; @:
|
||||
$(decimal_headers): ; @:
|
||||
$(ext_headers): ; @:
|
||||
$(experimental_headers): ; @:
|
||||
$(experimental_bits_headers): ; @:
|
||||
|
@ -939,7 +939,6 @@ experimental_headers = \
|
||||
${experimental_srcdir}/array \
|
||||
${experimental_srcdir}/chrono \
|
||||
${experimental_srcdir}/deque \
|
||||
${experimental_srcdir}/erase_if.h \
|
||||
${experimental_srcdir}/forward_list \
|
||||
${experimental_srcdir}/functional \
|
||||
${experimental_srcdir}/iterator \
|
||||
@ -953,7 +952,6 @@ experimental_headers = \
|
||||
${experimental_srcdir}/set \
|
||||
${experimental_srcdir}/string \
|
||||
${experimental_srcdir}/string_view \
|
||||
${experimental_srcdir}/string_view.tcc \
|
||||
${experimental_srcdir}/system_error \
|
||||
${experimental_srcdir}/tuple \
|
||||
${experimental_srcdir}/type_traits \
|
||||
@ -962,13 +960,23 @@ experimental_headers = \
|
||||
${experimental_srcdir}/vector \
|
||||
${experimental_filesystem_headers}
|
||||
|
||||
experimental_bits_srcdir = ${glibcxx_srcdir}/include/experimental/bits
|
||||
experimental_bits_builddir = ./experimental/bits
|
||||
experimental_bits_headers = \
|
||||
${experimental_bits_srcdir}/erase_if.h \
|
||||
${experimental_bits_srcdir}/string_view.tcc \
|
||||
${experimental_bits_filesystem_headers}
|
||||
|
||||
@ENABLE_FILESYSTEM_TS_FALSE@experimental_filesystem_headers =
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@experimental_filesystem_headers = \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_srcdir}/filesystem \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_srcdir}/fs_dir.h \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_srcdir}/fs_fwd.h \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_srcdir}/fs_ops.h \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_srcdir}/fs_path.h
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_srcdir}/filesystem
|
||||
|
||||
@ENABLE_FILESYSTEM_TS_FALSE@experimental_bits_filesystem_headers =
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@experimental_bits_filesystem_headers = \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_bits_srcdir}/fs_dir.h \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_bits_srcdir}/fs_fwd.h \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_bits_srcdir}/fs_ops.h \
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@ ${experimental_bits_srcdir}/fs_path.h
|
||||
|
||||
|
||||
# This is the common subset of C++ files that all three "C" header models use.
|
||||
@ -1245,8 +1253,8 @@ PCHFLAGS = -x c++-header -nostdinc++ $(CXXFLAGS) $(VTV_PCH_CXXFLAGS)
|
||||
allstamped = \
|
||||
stamp-std stamp-bits stamp-bits-sup stamp-c_base stamp-c_compatibility \
|
||||
stamp-backward stamp-ext stamp-pb stamp-tr1 stamp-tr2 stamp-decimal \
|
||||
stamp-experimental stamp-debug stamp-parallel stamp-profile \
|
||||
stamp-profile-impl stamp-host
|
||||
stamp-experimental stamp-experimental-bits stamp-debug stamp-parallel \
|
||||
stamp-profile stamp-profile-impl stamp-host
|
||||
|
||||
|
||||
# List of all files that are created by explicit building, editing, or
|
||||
@ -1542,6 +1550,11 @@ stamp-experimental: ${experimental_headers}
|
||||
@-cd ${experimental_builddir} && $(LN_S) $? . 2>/dev/null
|
||||
@$(STAMP) stamp-experimental
|
||||
|
||||
stamp-experimental-bits: ${experimental_bits_headers}
|
||||
@-mkdir -p ${experimental_bits_builddir}
|
||||
@-cd ${experimental_bits_builddir} && $(LN_S) $? . 2>/dev/null
|
||||
@$(STAMP) stamp-experimental-bits
|
||||
|
||||
stamp-debug: ${debug_headers}
|
||||
@-mkdir -p ${debug_builddir}
|
||||
@-cd ${debug_builddir} && $(LN_S) $? . 2>/dev/null
|
||||
@ -1793,6 +1806,9 @@ install-headers:
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${experimental_builddir}
|
||||
for file in ${experimental_headers}; do \
|
||||
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${experimental_builddir}; done
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${experimental_bits_builddir}
|
||||
for file in ${experimental_bits_headers}; do \
|
||||
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${experimental_bits_builddir}; done
|
||||
$(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir}
|
||||
for file in ${c_base_headers}; do \
|
||||
$(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done
|
||||
@ -1836,12 +1852,14 @@ clean-local:
|
||||
# be made.)
|
||||
.PRECIOUS: $(std_headers) $(c_base_headers) $(tr1_headers) $(tr2_headers)
|
||||
$(decimal_headers) $(ext_headers) $(experimental_headers)
|
||||
$(experimental_bits_headers)
|
||||
$(std_headers): ; @:
|
||||
$(c_base_headers): ; @:
|
||||
$(tr1_headers): ; @:
|
||||
$(decimal_headers): ; @:
|
||||
$(ext_headers): ; @:
|
||||
$(experimental_headers): ; @:
|
||||
$(experimental_bits_headers): ; @:
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// <experimental/erase_if.h> -*- C++ -*-
|
||||
// <experimental/bits/erase_if.h> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2015 Free Software Foundation, Inc.
|
||||
//
|
||||
@ -22,7 +22,7 @@
|
||||
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
/** @file experimental/erase_if.h
|
||||
/** @file experimental/bits/erase_if.h
|
||||
* This is an internal header file, included by other library headers.
|
||||
* Do not attempt to use it directly.
|
||||
*/
|
@ -35,10 +35,10 @@
|
||||
# include <bits/c++0x_warning.h>
|
||||
#else
|
||||
|
||||
#include <experimental/fs_fwd.h>
|
||||
#include <experimental/fs_path.h>
|
||||
#include <experimental/fs_dir.h>
|
||||
#include <experimental/fs_ops.h>
|
||||
#include <experimental/bits/fs_fwd.h>
|
||||
#include <experimental/bits/fs_path.h>
|
||||
#include <experimental/bits/fs_dir.h>
|
||||
#include <experimental/bits/fs_ops.h>
|
||||
|
||||
#define __cpp_lib_experimental_filesystem 201406
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#else
|
||||
|
||||
#include <map>
|
||||
#include <experimental/erase_if.h>
|
||||
#include <experimental/bits/erase_if.h>
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@
|
||||
#else
|
||||
|
||||
#include <set>
|
||||
#include <experimental/erase_if.h>
|
||||
#include <experimental/bits/erase_if.h>
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -686,7 +686,7 @@ _GLIBCXX_END_NAMESPACE_VERSION
|
||||
} // namespace experimental
|
||||
} // namespace std
|
||||
|
||||
#include <experimental/string_view.tcc>
|
||||
#include <experimental/bits/string_view.tcc>
|
||||
|
||||
#endif // __cplusplus <= 201103L
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
#else
|
||||
|
||||
#include <unordered_map>
|
||||
#include <experimental/erase_if.h>
|
||||
#include <experimental/bits/erase_if.h>
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@
|
||||
#else
|
||||
|
||||
#include <unordered_set>
|
||||
#include <experimental/erase_if.h>
|
||||
#include <experimental/bits/erase_if.h>
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user