Не могу вставить в std :: map (G ++)

У меня следующая проблема:

struct ServerPP {
    std::string name;
    int id;
    int expires;
};
std::map RemindTable;

int test(std::string email, ServerPP serv)
{
    RemindTable[email].insert(serv); // error when compile in this row below
}

Ошибка в g ++:

In file included from /usr/include/c++/4.4/string:50,
                 from /usr/include/c++/4.4/bits/locale_classes.h:42,
                 from /usr/include/c++/4.4/bits/ios_base.h:43,
                 from /usr/include/c++/4.4/ios:43,
                 from /usr/include/c++/4.4/istream:40,
                 from /usr/include/c++/4.4/sstream:39,
                 from stdafx.h:19,
                 from ActiveReminder.cpp:4:
/usr/include/c++/4.4/bits/stl_function.h: In member function 'bool std::less::operator()(const _Tp&, const _Tp&) const [with _Tp = ServerPP]':
/usr/include/c++/4.4/bits/stl_tree.h:1170:   instantiated from 'std::pair std::_Rb_tree::_M_insert_unique(const _Val&) [with _Key = ServerPP, _Val = ServerPP, _KeyOfValue = std::_Identity, _Compare = std::less, _Alloc = std::allocator]'
/usr/include/c++/4.4/bits/stl_set.h:411:   instantiated from 'std::pair std::set::insert(const _Key&) [with _Key = ServerPP, _Compare = std::less, _Alloc = std::allocator]'
ActiveReminder.cpp:32:   instantiated from here
/usr/include/c++/4.4/bits/stl_function.h:230: error: no match for 'operator

Ответы на вопрос(1)

Ваш ответ на вопрос