Specialization for std::vector<T>
More...
#include <duk.hpp>
|
static void | push (duk_context *ctx, const std::vector< T > &values) |
|
static auto | get (duk_context *ctx, duk_idx_t index) -> std::vector< T > |
|
template<typename T>
struct irccd::js::duk::type_traits< std::vector< T > >
Specialization for std::vector<T>
◆ get()
Get a C++ std::vector<T>.
- Parameters
-
ctx | the Duktape context |
index | the value index |
- Returns
- the converted value
◆ push()
Push a C++ std::vector<T>.
- Parameters
-
ctx | the Duktape context |
values | the array |
The documentation for this struct was generated from the following file: