Skip to content

Instantly share code, notes, and snippets.

View geoffreygarrett's full-sized avatar
🇺🇦

Geoffrey Garrett geoffreygarrett

🇺🇦
  • Delft University of Technology
  • Netherlands
View GitHub Profile
@geoffreygarrett
geoffreygarrett / example.cpp
Created June 10, 2019 12:24 — forked from marcinwol/example.cpp
Boost python vector to py list and py list to vector
#include <iostream>
#include <vector>
#include <memory>
#include "boost/shared_ptr.hpp"
#include "boost/python.hpp"
#include "boost/python/stl_iterator.hpp"
using namespace std;