1 2018-01-09 Jonathan Wakely <jwakely@redhat.com>
3 PR libstdc++/59253 (partial)
4 * python/libstdcxx/v6/printers.py (SmartPtrIterator): Common iterator
5 type for pointer stored by shared_ptr, weak_ptr and unique_ptr.
6 (SharedPointerPrinter, UniquePointerPrinter): Treat stored values as
8 * testsuite/libstdc++-prettyprinters/cxx11.cc: Update expected output
10 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Update expected
11 output of shared_ptr printer.
13 2018-01-05 Jonathan Wakely <jwakely@redhat.com>
16 * src/filesystem/ops.cc (remove(const path&, error_code&)): Remove
17 unnecessary symlink_status call.
18 (remove_all(const path&, error_code&)): Use filesystem::remove.
19 * src/filesystem/std-ops.cc: Likewise.
22 * src/filesystem/std-ops.cc (do_copy_file): Use non-null offset with
26 * src/filesystem/ops.cc (remove(const path&, error_code&)): Do not
27 report an error for ENOENT.
28 (remove_all(const path&)): Fix type of result variable.
29 (remove_all(const path&, error_code&)): Use non-throwing increment
30 for directory iterator. Call POSIX remove directly to avoid redundant
31 calls to symlink_status. Do not report errors for ENOENT.
32 * src/filesystem/std-ops.cc: Likewise.
33 * testsuite/27_io/filesystem/operations/remove_all.cc: Test throwing
35 * testsuite/experimental/filesystem/operations/remove_all.cc:
38 2018-01-04 Jonathan Wakely <jwakely@redhat.com>
41 * src/filesystem/ops.cc (remove(const path&, error_code&))): Remove
42 redundant call to ec.clear().
43 (remove_all(const path&, error_code&))): Do not return an error for
45 * src/filesystem/std-ops.cc: Likewise.
46 * testsuite/27_io/filesystem/operations/remove.cc: New test.
47 * testsuite/27_io/filesystem/operations/remove_all.cc: Fix expected
48 results for non-existent paths.
49 * testsuite/experimental/filesystem/operations/remove.cc: New test.
50 * testsuite/experimental/filesystem/operations/remove_all.cc: Fix
51 expected results for non-existent paths.
53 * include/bits/fs_ops.h (exists(const path&, error_code&))): Only
54 check status_known once.
55 * include/experimental/bits/fs_ops.h: Likewise.
58 * include/std/functional (__is_byte_like): New trait.
59 (__is_std_equal_to): Remove.
60 (__boyer_moore_base_t): Use __is_byte_like instead of
62 * include/experimental/functional (__is_std_equal_to): Remove.
63 (__boyer_moore_base_t): Use __is_byte_like instead of
65 * testsuite/20_util/function_objects/83607.cc: New test.
67 2018-01-03 Ville Voutilainen <ville.voutilainen@gmail.com>
69 Protect optional's deduction guide with the feature macro
70 * include/std/optional: Use the feature macro.
72 2018-01-03 Jakub Jelinek <jakub@redhat.com>
74 Update copyright years.
76 Copyright (C) 2018 Free Software Foundation, Inc.
78 Copying and distribution of this file, with or without modification,
79 are permitted in any medium without royalty provided the copyright
80 notice and this notice are preserved.