Is this possible?
// In file CCU.ice
[["cpp:include:set"]]
module example {
["cpp:type:std::set<std::string>"] sequence<string> SET;
};
// end of file CCU.ice
Because if I compile with:
c++ -I. -I/usr/include -c server.cpp CCU.cpp CCUIS.cpp
I get the following error message:
CCU.cpp: In function ‘void CCU::__readSET(IceInternal::BasicStream*, CCU::SET&)’:
CCU.cpp:88: error: no matching function for call to ‘std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::set(Ice::Int&)’

Reply With Quote