feature/orcus-integration about to be merged

Stephan Bergmann sbergman at redhat.com
Mon Sep 10 09:08:49 PDT 2012


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



More information about the LibreOffice mailing list