[libcxx-commits] [libcxx] [libc++] tests with picolibc: Fix iterator diff_type to std::streamoff (PR #74072)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 1 06:58:29 PST 2023


Dominik =?utf-8?q?Wójt?= <dominik.wojt at arm.com>,
Dominik =?utf-8?q?Wójt?= <dominik.wojt at arm.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/74072 at github.com>


================
@@ -152,8 +147,7 @@ static_assert(testIOIterator<std::insert_iterator<std::vector<int>>, std::output
 static_assert(testConst<std::istream_iterator<int, char>, std::input_iterator_tag, int>());
 
 #if !defined(TEST_HAS_NO_LOCALIZATION)
-// libc++-specific since pointer type is unspecified:
-LIBCPP_STATIC_ASSERT(test<std::istreambuf_iterator<char>, std::input_iterator_tag, char, long long, char, char*>());
+static_assert(test<std::istreambuf_iterator<char>, std::input_iterator_tag, char, std::streamoff, char, char*>());
----------------
ldionne wrote:

Thanks for noticing this BTW @cpplearner 

https://github.com/llvm/llvm-project/pull/74072


More information about the libcxx-commits mailing list