mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-25 10:27:19 +02:00
Work around compilation errors on clang-10 through 12.
This commit is contained in:
@ -60,9 +60,10 @@ int main()
|
||||
#endif
|
||||
|
||||
#if defined(__cpp_lib_concepts) && ( __cpp_lib_concepts >= 202002L )
|
||||
|
||||
static_assert(std::output_iterator<decltype(boost::function_output_iterator([](int p) { })), int>);
|
||||
|
||||
{
|
||||
auto func = [](int) {};
|
||||
static_assert(std::output_iterator< boost::iterators::function_output_iterator< decltype(func) >, int >);
|
||||
}
|
||||
#endif
|
||||
|
||||
return boost::report_errors();
|
||||
|
Reference in New Issue
Block a user