StateWrapper: Add std::array overload

This commit is contained in:
Connor McLaughlin 2019-09-29 18:05:20 +10:00
parent a48b856a62
commit 9ee8c0194e
1 changed files with 6 additions and 0 deletions

View File

@ -103,6 +103,12 @@ public:
void Do(std::string* value_ptr);
void Do(String* value_ptr);
template<typename T, size_t N>
void Do(std::array<T, N>* data)
{
DoArray(data->data(), data->size());
}
template<typename T>
void Do(std::vector<T>* data)
{