Perhaps this should go to a g++ group but I have a feeling the answer is Out There: 

Why is g++ having trouble with this? 

Error is ../main.cpp:19: error: template declaration of ‘boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, POS<T>, boost::no_property, boost::no_property, boost::listS> DG’

template<typename T = int>
struct POS
{
T x, y;
};

template<typename T>
adjacency_list<vecS, vecS, bidirectionalS, POS<T> > DG;