Adding support for Visual C++ to task.hpp

Most of the implementation is just pulled in with using clauses.