Displaying 3 results from an estimated 3 matches for "_fiter".
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
...; In file included from /usr/include/c++/8/algorithm:62,
> from test.cpp:1:
> test.cpp:3:27: in ‘constexpr’ expansion of ‘std::min<int>(std::initializer_list<int>{((const int*)(& ._61)), 6})’
> /usr/include/c++/8/bits/stl_algo.h:3451:31: error: ‘constexpr _FIter std::min_element(_FIter, _FIter) [with _FIter = const int*]’ called in a constant expression
> { return *std::min_element(__l.begin(), __l.end()); }
> ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/8/bits/stl_algo.h:5610:12: note: ‘constexpr _FIter std::min...
2019 Oct 02
2
SourceMgr vs EXPENSIVE_CHECKS
...r/include/c++/8/algorithm:62,
>> > from test.cpp:1:
>> > test.cpp:3:27: in ‘constexpr’ expansion of ‘std::min<int>(std::initializer_list<int>{((const int*)(& ._61)), 6})’
>> > /usr/include/c++/8/bits/stl_algo.h:3451:31: error: ‘constexpr _FIter std::min_element(_FIter, _FIter) [with _FIter = const int*]’ called in a constant expression
>> > { return *std::min_element(__l.begin(), __l.end()); }
>> > ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
>> > /usr/include/c++/8/bits/stl_algo.h:5610:12: note:...
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
...cator<long unsigned
int> >*>()’
/home/jayfoad2/git/llvm-project/llvm/include/llvm/ADT/PointerUnion.h:64:25:
in ‘constexpr’ expansion of
‘std::min<int>(std::initializer_list<int>{((const int*)(& ._125)),
4})’
/usr/include/c++/8/bits/stl_algo.h:3451:31: error: ‘constexpr _FIter
std::min_element(_FIter, _FIter) [with _FIter = const int*]’ called in
a constant expression
{ return *std::min_element(__l.begin(), __l.end()); }
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:5610:12: note: ‘constexpr _FIter
std::min_element(_FIter...