Fix comment typos, strip trailing whitespace. Patch from STL@microsoft.com
llvm-svn: 273357
This commit is contained in:
parent
2ff9c25d93
commit
46fb2b903e
|
@ -24,7 +24,7 @@ int main()
|
|||
assert(!std::char_traits<char>::lt('a', 'a'));
|
||||
assert( std::char_traits<char>::lt('A', 'a'));
|
||||
assert(!std::char_traits<char>::lt('a', 'A'));
|
||||
|
||||
|
||||
assert( std::char_traits<char>::lt('a', 'z'));
|
||||
assert( std::char_traits<char>::lt('A', 'Z'));
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ int main()
|
|||
|
||||
}
|
||||
{
|
||||
// test for presense of is_nothrow_swappable_with_v
|
||||
// test for presence of is_nothrow_swappable_with_v
|
||||
static_assert(std::is_nothrow_swappable_with_v<int&, int&>, "");
|
||||
static_assert(!std::is_nothrow_swappable_with_v<int&&, int&&>, "");
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ int main()
|
|||
static_assert(!std::is_swappable<int() &>::value, "");
|
||||
}
|
||||
{
|
||||
// test for presense of is_swappable_v
|
||||
// test for presence of is_swappable_v
|
||||
static_assert(std::is_swappable_v<int>, "");
|
||||
static_assert(!std::is_swappable_v<M>, "");
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ int main()
|
|||
static_assert(!std::is_swappable_with<D&, C&>::value, "");
|
||||
}
|
||||
{
|
||||
// test that cv void is guarded against as required.
|
||||
// test that cv void is guarded against as required.
|
||||
static_assert(!std::is_swappable_with_v<void, int>, "");
|
||||
static_assert(!std::is_swappable_with_v<int, void>, "");
|
||||
static_assert(!std::is_swappable_with_v<const void, const volatile void>, "");
|
||||
|
|
|
@ -29,5 +29,5 @@ int main () {
|
|||
}
|
||||
// Smart pointers of type 'T[N]' are not tested here since they are not
|
||||
// supported by the standard nor by libc++'s implementation.
|
||||
// See http://reviews.llvm.org/D21320 for move information.
|
||||
}
|
||||
// See http://reviews.llvm.org/D21320 for more information.
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue