Re: [C++-sig] Re: Duplicate "ignore"(again...) and more. (Latest CVS, VC .NET 2003)
by Joel de Guzman other posts by this author
Oct 21 2003 10:10AM messages near this date
Re: [C++-sig] Pickling object from nested class
|
[C++-sig] Re: Duplicate "ignore"(again...) and more. (Latest CVS, VC .NET 2003)
David Abrahams <dave@[...].com> wrote:
> Kerim,
>
> This report should probably go to the main Boost developers' list. A
> small reproducible test case would also help a lot.
>
> Thanks,
> Dave
>
>
> Kerim Borchaev <warkid@[...].ru> writes:
>
> > Hello c++-sig,
> >
> > As I get it VC7.1 also has this bug with anonymous namespace:
This is a known problem of the old tuples. The fix is to change:
namespace {
detail::swallow_assign ignore;
}
To:
detail::swallow_assign const ignore = detail::swallow_assign();
To avoid linker errors. This is what I do in Fusion.
HTH,
--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net
_______________________________________________
C++-sig mailing list
C++-sig@[...].org
http://mail.python.org/mailman/listinfo/c++-sig
|