Skip to content

Replace instances of nullptr dereferencing in unevaluated contexts wi…#551

Merged
kris-jusiak merged 1 commit intoboost-ext:cpp14from
tphnicholas:ext/use-declval-in-unevaluated-contexts
May 31, 2023
Merged

Replace instances of nullptr dereferencing in unevaluated contexts wi…#551
kris-jusiak merged 1 commit intoboost-ext:cpp14from
tphnicholas:ext/use-declval-in-unevaluated-contexts

Conversation

@tphnicholas
Copy link
Contributor

…th declval

Problem:

Instances of nullptr dereferencing in unevaluated contexts error under [-Werror=nonnull].
Tested on C++20.

Solution:

Replace with aux::declval / std::declval.

Issue: #

Reviewers:
@

@kris-jusiak kris-jusiak merged commit f87427b into boost-ext:cpp14 May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants