logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conway Allen" <Allen.Con...@atosorigin.com>
Subject 0.9.8 - NDC
Date Mon, 18 Jul 2005 16:57:56 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>0.9.8 - NDC</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Lucida Sans Unicode">Dear all (and Andreas in particular),</FONT>
</P>

<P><FONT SIZE=2 FACE="Lucida Sans Unicode">With the 0.9.7 i've been writing NDC
ndc(mystring) where mystring is some std::string or a const char*. I find that with the 0.9.8
I can't do that - the compiler tells me that the only constructor I can use is a copy constructor
or one that takes a const LogString&amp; which seems to be a basic_string&lt;wchar_t&gt;
or something like that. It is possible, however to invoke NDC::push(mystring) but then you
lose the advantage having the destructor popping what was pushed. Is this how things are meant
to be?</FONT></P>

<P><FONT SIZE=2 FACE="Lucida Sans Unicode">thanks, Allen.</FONT>
</P>

</BODY>
</HTML>

Mime
View raw message