We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd2e72 commit c5bf369Copy full SHA for c5bf369
inc/meta/NotBasedOf.h renamed to inc/meta/NotBasedOn.h
@@ -8,11 +8,11 @@ namespace meta {
8
/// \author Andrzej Krzemieński
9
/// \note https://akrzemi1.wordpress.com/2013/10/10/too-perfect-forwarding/
10
template<typename T, typename Base>
11
-constexpr bool NotBasedOf() {
12
- using DecayedT = std::decay_t<T>;
13
- return
14
- !std::is_same<DecayedT, Base>::value &&
15
- !std::is_base_of<Base, DecayedT>::value;
+constexpr bool NotBasedOn() {
+ using DecayedT = std::decay_t<T>;
+ return
+ !std::is_same<DecayedT, Base>::value &&
+ !std::is_base_of<Base, DecayedT>::value;
16
}
17
18
0 commit comments