Skip to content

Commit c5bf369

Browse files
author
Eddie
committed
Rename
1 parent 3fd2e72 commit c5bf369

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

inc/meta/NotBasedOf.h renamed to inc/meta/NotBasedOn.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ namespace meta {
88
/// \author Andrzej Krzemieński
99
/// \note https://akrzemi1.wordpress.com/2013/10/10/too-perfect-forwarding/
1010
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;
11+
constexpr bool NotBasedOn() {
12+
using DecayedT = std::decay_t<T>;
13+
return
14+
!std::is_same<DecayedT, Base>::value &&
15+
!std::is_base_of<Base, DecayedT>::value;
1616
}
1717

1818
}

0 commit comments

Comments
 (0)