The error is at least 3 lines long and unfortunately I just can't copy it :(.
It just says more or less: conversion from "__gnu_cxx::__normal_iterator bla bla bla" to non-scalar type "__gnu_cxx::__normal_iterator bla bla bla" requested
Ok thanks folks for your replies this fixed my issue :)
And by the wayJlborges I do not know c++11 so I'm looking forward to finding a great tutorial about it