make gd::vector satisfy value_type

This commit is contained in:
HJfod 2022-10-15 21:58:56 +03:00
parent d2536f95ce
commit 61fd9a50d7

View file

@ -283,6 +283,8 @@ namespace gd {
template <typename T>
class GEODE_DLL vector {
public:
using value_type = T;
operator std::vector<T>() {
std::vector<T> out;
@ -459,6 +461,8 @@ namespace gd {
template <typename T>
class GEODE_DLL vector {
public:
using value_type = T;
operator std::vector<T>() {
return m_internal;
}