Converting from v8::Arguments to C++ Types
If you are using NaN (native abstractions for node) then try this code:
std::string myString(*NanAsciiString(args[0]));
The best way I can find to convert to and from JS types and C++ types, is using v8-juice, which provides type casting methods. Specifically I'm using v8-convert, which is a spin off of v8-juice, that includes only the conversion methods.
Converting args[0] to std::list is one line:
std::list<std::string> values = cvv8::CastFromJS<std::list<std::string> >(args[0]);