I want to forward declare:
namespace boost {
namespace property_tree {
template<typename Key, typename Data, typename KeyCompare = std::less<Key> >
class basic_ptree;
typedef basic_ptree< std::string, std::string > ptree;
}
}
but my g++ cribs about redefinition due to default template argument. How can I achieve this?