#include "c_to_r.hpp" #include #include #include int main() { using namespace std; typedef std::complex Complex; vector a; vector b; copy (a.begin(), a.end(), boost::make_c_to_r_adapt (b.begin())); }