llvm-project
[libc++] Implement P2988R12: `std::optional<T&>`
#155202
Merged

Commits
  • Augment tests
    smallp-o-p committed 245 days ago
  • formatting
    smallp-o-p committed 245 days ago
  • Forgot to gate a test
    smallp-o-p committed 245 days ago
  • Update generated files
    smallp-o-p committed 245 days ago
  • Formatting
    smallp-o-p committed 245 days ago
  • Update documentation
    smallp-o-p committed 245 days ago
  • Update optional to allow T&, disable iterator and value_or for T(&)()
    smallp-o-p committed 245 days ago
  • Remove nullptr dereference in iterator
    smallp-o-p committed 245 days ago
  • Left in an extraneous paren
    smallp-o-p committed 245 days ago
  • Python formatting
    smallp-o-p committed 245 days ago
  • Fix merge oops
    smallp-o-p committed 245 days ago
  • Formatting and include
    smallp-o-p committed 245 days ago
  • Gate ref tests, use std::same_as suggestion
    smallp-o-p committed 245 days ago
  • Fix GCC shadow warning
    smallp-o-p committed 245 days ago
  • Add constraint to emplace, add deleted optional<T&> constructors, add tests
    smallp-o-p committed 245 days ago
  • Remove __can_bind_reference() in favor of __reference_constructs_from_temporary_v
    smallp-o-p committed 245 days ago
  • Assignment shouldn't modify the underlying value, test for that and also enable some disabled tests
    smallp-o-p committed 245 days ago
  • Clang-Format
    smallp-o-p committed 245 days ago
  • Address comments + Add some tests for function refs and array refs
    smallp-o-p committed 245 days ago
  • Change a few more static_asserts
    smallp-o-p committed 245 days ago
  • Fix up swap, make_optional, add tests
    smallp-o-p committed 245 days ago
  • Address nits
    smallp-o-p committed 245 days ago
  • Formatting
    smallp-o-p committed 245 days ago
  • Formatting x2
    smallp-o-p committed 245 days ago
  • Fix typo
    smallp-o-p committed 245 days ago
  • Allow make_optional for T&, add test
    smallp-o-p committed 244 days ago
  • Formatting
    smallp-o-p committed 244 days ago
  • Use std::swap, mark T& assignment and __swap noexcept
    smallp-o-p committed 240 days ago
  • Replace all usages of optional::value_type with _Tp, remove reference on value_type
    smallp-o-p committed 233 days ago
  • Clean up deleted constructors signatures
    smallp-o-p committed 233 days ago
  • Drive-by: Add a ranges::range<optional<T>> test for iterators
    smallp-o-p committed 232 days ago
  • Add enable_borrowed_range<optional<T&>> and corresponding test
    smallp-o-p committed 232 days ago
  • Add to module inc
    smallp-o-p committed 232 days ago
  • Make the borrowed_range test compile only
    smallp-o-p committed 231 days ago
  • Remove std:: prefixes in iterator struct
    smallp-o-p committed 231 days ago
  • Simplify borrowed_range test
    smallp-o-p committed 231 days ago
  • ditto
    smallp-o-p committed 231 days ago
  • ADL lookup
    smallp-o-p committed 231 days ago
  • ADL lookup
    smallp-o-p committed 231 days ago
Loading