Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static_assert that container and allocator type parameters are object types #2436

Merged
merged 9 commits into from
Apr 14, 2023

Commits on Dec 12, 2021

  1. Implement LWG-3591: `lazy_split_view<input_view>::inner-iterator::bas…

    …e() &&` invalidates outer iterators
    
    Fixes microsoft#2401
    cristeigabriel committed Dec 12, 2021
    Configuration menu
    Copy the full SHA
    a17148b View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Configuration menu
    Copy the full SHA
    1866266 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Trick clang-format

    CaseyCarter committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    fcfd3c4 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Implement compile-time restraints for reference types in containers a…

    …nd allocator
    
    Fixes microsoft#2408.
    
    This PR implements a message (or more, depending on structure)  when you try to instantiate an object which has inherent contradicting type requirements (ex. "pointer to reference").
    
    I tried not to be pedantic with the implementation, but I might've went wrong with that, thus I'm sorry if I did.
    
    Notes: I have noticed different order for implementing static asserts in containers, sometimes it's before required types and right after, if there is, friend classes, and sometimes, it's after required types and in different access modifiers (not like it changes anything, just a nitpick).
    cristeigabriel committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    3ed3e7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8c7cae View commit details
    Browse the repository at this point in the history
  3. Quickfix

    cristeigabriel committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    27ca55d View commit details
    Browse the repository at this point in the history
  4. Update set

    cristeigabriel committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    7ff40f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2023

  1. Configuration menu
    Copy the full SHA
    5c73ad2 View commit details
    Browse the repository at this point in the history
  2. Changes during code review.

    * Changed `unordered_multimap` which was originally overlooked
    * Varied the wording for container adaptors
    * For `map`, `multimap`, `unordered_map`, and `unordered_multimap`, checked both the keys and values
    * Added `!is_function_v<_Ty>` to `allocator`
    * Changed the checks outside `allocator` to `is_object_v<_Ty>` with matching messages
    StephanTLavavej committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    aadbc63 View commit details
    Browse the repository at this point in the history