olympus-robotics / hephaestus

Hephaestus is a C++ framework designed to facilitate robotics development by providing commonly needed functionality and abstractions.
MIT License
26 stars 4 forks source link

remove const requirement #116

Closed floriantschopp closed 4 months ago

floriantschopp commented 4 months ago
#if __cplusplus >= 201103L
      static_assert(is_same<typename remove_cv<_Tp>::type, _Tp>::value,
      "std::vector must have a non-const, non-volatile value_type");

in stl_vector.h requires a vector to have non-const value types. No idea how this compiled before :thinking: