Skip to content

Commit c995bab

Browse files
iahsfacebook-github-bot
authored andcommitted
Add test for folly::is_contiguous_range_v<std::vector<bool>>
Differential Revision: D72488283 fbshipit-source-id: 5858ee9f3da86a960040ba5ff97fe52bf1feb5a3
1 parent 6319448 commit c995bab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

folly/container/test/range_traits_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ TEST_F(RangeTraitsTest, is_contiguous_range_v) {
5050
EXPECT_TRUE((folly::is_contiguous_range_v<std::string>));
5151
EXPECT_TRUE((folly::is_contiguous_range_v<std::string_view>));
5252
EXPECT_TRUE((folly::is_contiguous_range_v<std::vector<int>>));
53+
EXPECT_FALSE((folly::is_contiguous_range_v<std::vector<bool>>));
5354
#if __has_include(<span>)
5455
EXPECT_TRUE((folly::is_contiguous_range_v<std::span<int>>));
5556
EXPECT_TRUE((folly::is_contiguous_range_v<std::span<int const>>));

0 commit comments

Comments
 (0)