boost-ext / di

C++14 Dependency Injection Library
https://boost-ext.github.io/di
1.13k stars 136 forks source link

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

Closed tphnicholas closed 1 year ago

tphnicholas commented 1 year ago

…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: @