-
Notifications
You must be signed in to change notification settings - Fork 4
fixing #31, adding move with new alloc ctor #38
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
Conversation
| std::allocator_traits<std::remove_reference_t<UAlloc>>::is_always_equal::value)> | ||
| {}; | ||
|
|
||
| // +----------------------------------------------------------------------+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This never ended up getting used so it was dead code.
| /// | ||
| using size_type = std::size_t; | ||
|
|
||
| constexpr VariableLengthArrayBase( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to move this stuff down so it could use some of the functions defined below.
| UAlloc&& rhs, | ||
| typename std::enable_if<std::allocator_traits< | ||
| std::remove_reference_t<UAlloc>>::propagate_on_container_move_assignment::value>::type* = | ||
| typename std::enable_if_t< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to enable_if_t was recommended by sonar qube.
|
Kudos, SonarCloud Quality Gate passed! |








No description provided.