From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-08-11 10:52:59


Markus Sch?pflin wrote:

> Bart wrote:
>
> > Yes, it is a typo. It should be an ampersand instead of an asterisk.
> >
> > date_generator_parser(const date_generator_parser<date_type,charT>& dgp)
> > ------------------------------------------------------------------^
> >
> > Thanks for bringing this to our attention.
>
> It's present in the current RC as well.

Presumably it doesn't matter much, since the compiler will generate a
copy ctor with the right semantics, so the typo just introduces a
constructor that will only cause an error if it's instantiated, which is
fairly unlikely.

In fact, why is the copy ctor explicitly defined at all?

jon