Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Remove <experimental/optional>; use <optional> instead. See https://l…
Browse files Browse the repository at this point in the history
  • Loading branch information
mclow committed Feb 1, 2018
1 parent 75075c6 commit 95db3d2
Show file tree
Hide file tree
Showing 72 changed files with 1 addition and 5,262 deletions.
913 changes: 1 addition & 912 deletions include/experimental/optional

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions include/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,6 @@ module std [system] {
header "experimental/numeric"
export *
}
module optional {
header "experimental/optional"
export *
}
module propagate_const {
header "experimental/propagate_const"
export *
Expand Down
6 changes: 0 additions & 6 deletions src/optional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//

#include "optional"
#include "experimental/optional"

namespace std
{
Expand All @@ -21,8 +20,3 @@ const char* bad_optional_access::what() const _NOEXCEPT {

} // std

_LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL

bad_optional_access::~bad_optional_access() _NOEXCEPT = default;

_LIBCPP_END_NAMESPACE_EXPERIMENTAL
1 change: 0 additions & 1 deletion test/libcxx/double_include.sh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
#include <experimental/map>
#include <experimental/memory_resource>
#include <experimental/numeric>
#include <experimental/optional>
#include <experimental/propagate_const>
#include <experimental/ratio>
#include <experimental/regex>
Expand Down
20 changes: 0 additions & 20 deletions test/libcxx/experimental/optional/version.pass.cpp

This file was deleted.

2 changes: 0 additions & 2 deletions test/libcxx/min_max_macros.sh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,6 @@ TEST_MACROS();
TEST_MACROS();
#include <experimental/numeric>
TEST_MACROS();
#include <experimental/optional>
TEST_MACROS();
#include <experimental/propagate_const>
TEST_MACROS();
#include <experimental/ratio>
Expand Down

This file was deleted.

This file was deleted.

53 changes: 0 additions & 53 deletions test/std/experimental/optional/optional.comp_with_t/equal.pass.cpp

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 95db3d2

Please sign in to comment.