mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 17:55:41 -04:00
StateWrapper: Add std::array overload
This commit is contained in:
parent
a48b856a62
commit
9ee8c0194e
@ -103,6 +103,12 @@ public:
|
|||||||
void Do(std::string* value_ptr);
|
void Do(std::string* value_ptr);
|
||||||
void Do(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>
|
template<typename T>
|
||||||
void Do(std::vector<T>* data)
|
void Do(std::vector<T>* data)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user