Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 09/10/2012 05:41 PM, Alexander Thurgood wrote:
make  all-recursive
Making all in src
Making all in liborcus
Making all in pre
make[6]: Nothing to be done for `all'.
   CXX    liborcus_0.2_la-dom_tree.lo
../../include/orcus/pstring.hpp: In instantiation of
'std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
../../include/orcus/pstring.hpp:142:   instantiated from here
../../include/orcus/pstring.hpp:142: error: explicit instantiation of
'std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>]' but no
definition available

Incidentally, a similar construct in sal/inc/rtl/oustringostreaminserter.hxx uses explicit

template< typename charT, typename traits > std::basic_ostream<charT, traits>

instead of just

  std::ostream

though I can't remember off the top of my head what that's supposed to be good for.

Stephan


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.