Godbolt link here for clang error,
source:
#include <initializer_list>
int main(){
constexpr std::initializer_list<char> chars{'a','b','c'};
}
If somebody wonders VC++ gives some useless errors :)
Godbolt link here for clang error,
source:
#include <initializer_list>
int main(){
constexpr std::initializer_list<char> chars{'a','b','c'};
}
If somebody wonders VC++ gives some useless errors :)