libstdc++: Add <initializer_list> to ranges_base.h header
The header should be included explicitly to use std::initializer_list. With the upcoming changes to make <ranges> available for freestanding this becomes an error, because <initializer_list> is no longer provided by any of the other headers involved here. libstdc++-v3/ChangeLog: * include/bits/ranges_base.h: Include <initializer_list>.
This commit is contained in:
parent
5e4f5c25d6
commit
26cb69f8b4
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
#pragma GCC system_header
|
||||
|
||||
#if __cplusplus > 201703L
|
||||
#include <initializer_list>
|
||||
#include <bits/iterator_concepts.h>
|
||||
#include <ext/numeric_traits.h>
|
||||
#include <bits/max_size_type.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue