In file included from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mecho.cpp:1:
/usr/include/c++/11/bits/stl_algobase.h: In instantiation of 'constexpr typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a1(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = Tvector<bool, 1>*; _Tp = Tvector<int, 1>; typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type = void]':
/usr/include/c++/11/bits/stl_algobase.h:953:21: required from 'constexpr void std::__fill_a1(__gnu_cxx::__normal_iterator<_Iterator, _Container>, __gnu_cxx::__normal_iterator<_Iterator, _Container>, const _Tp&) [with _Ite = Tvector<bool, 1>*; _Cont = std::vector<Tvector<bool, 1>, std::allocator<Tvector<bool, 1> > >; _Tp = Tvector<int, 1>]'
/usr/include/c++/11/bits/stl_algobase.h:969:21: required from 'constexpr void std::__fill_a(_FIte, _FIte, const _Tp&) [with _FIte = __gnu_cxx::__normal_iterator<Tvector<bool, 1>*, std::vector<Tvector<bool, 1>, std::allocator<Tvector<bool, 1> > > >; _Tp = Tvector<int, 1>]'
/usr/include/c++/11/bits/stl_algobase.h:999:20: required from 'constexpr void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = __gnu_cxx::__normal_iterator<Tvector<bool, 1>*, std::vector<Tvector<bool, 1>, std::allocator<Tvector<bool, 1> > > >; _Tp = Tvector<int, 1>]'
mecho.cpp:94:13: required from here
/usr/include/c++/11/bits/stl_algobase.h:912:18: error: no match for 'operator=' (operand types are 'Tvector<bool, 1>' and 'const Tvector<int, 1>')
912 | *__first = __value;
| ~~~~~~~~~^~~~~~~~~
mecho.cpp:16:8: note: candidate: 'Tvector<bool, 1>& Tvector<bool, 1>::operator=(const Tvector<bool, 1>&)'
16 | struct Tvector<Tp, 1> : public vector<Tp> {
| ^~~~~~~~~~~~~~
mecho.cpp:16:8: note: no known conversion for argument 1 from 'const Tvector<int, 1>' to 'const Tvector<bool, 1>&'
mecho.cpp:16:8: note: candidate: 'Tvector<bool, 1>& Tvector<bool, 1>::operator=(Tvector<bool, 1>&&)'
mecho.cpp:16:8: note: no known conversion for argument 1 from 'const Tvector<int, 1>' to 'Tvector<bool, 1>&&'