combo.cpp:10:16: error: 'std::mt19937 random' redeclared as different kind of entity
10 | mt19937 random(time(NULL));
| ^~~~
In file included from /usr/include/c++/11/cstdlib:75,
from /usr/include/c++/11/bits/stl_algo.h:59,
from /usr/include/c++/11/string:52,
from combo.h:3,
from combo.cpp:1:
/usr/include/stdlib.h:402:17: note: previous declaration 'long int random()'
402 | extern long int random (void) __THROW;
| ^~~~~~
In file included from /usr/include/c++/11/string:52,
from combo.h:3,
from combo.cpp:1:
/usr/include/c++/11/bits/stl_algo.h: In instantiation of 'void std::shuffle(_RAIter, _RAIter, _UGenerator&&) [with _RAIter = __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >; _UGenerator = long int (&)() noexcept]':
combo.cpp:109:12: required from here
/usr/include/c++/11/bits/stl_algo.h:3750:9: error: 'std::remove_reference<long int (&)() noexcept>::type' {aka 'long int() noexcept'} is not a class, struct, or union type
3750 | __uc_type;
| ^~~~~~~~~
/usr/include/c++/11/bits/stl_algo.h:3778:44: error: 'std::remove_reference<long int (&)() noexcept>::type' {aka 'long int() noexcept'} is not a class, struct, or union type
3778 | const pair<__uc_type, __uc_type> __pospos =
| ^~~~~~~~
/usr/include/c++/11/bits/stl_algo.h:3778:44: error: 'std::remove_reference<long int (&)() noexcept>::type' {aka 'long int() noexcept'} is not a class, struct, or union type