Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.49 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Unable to pass stringstream to constructor
  2. CSimpleIniCaseA::TNamesDepend::const_iterator i;
  3. for (i = values.begin(); i != values.end(); ++i)
  4. my_string << i->pItem <<"n";
  5. cout<<my_string.str()<<endl;
  6.        
  7. server tcp(tcp_service,my_string.str());
  8.        
  9. ‘std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits<char>]’ is private
  10.        
  11. server tcp(tcp_service,my_string.str());