|
Boost : |
From: Bart (bartmann.nsd_at_[hidden])
Date: 2005-08-11 08:32:10
On Thu, 11 Aug 2005 12:58:58 +0200, Markus Schöpflin wrote:
> The latest CVS contains the following code in
> boost/date_time/date_generator_parser.hpp:
>
> date_generator_parser(const date_generator_parser<date_type,charT>* dgp)
> ------------------------------------------------------------------^
> {
> this->m_element_strings = dgp.m_element_strings;
> -------------------------------^
> }
>
> This is a typo, isn't it? Shoudn't this be a copy constructor?
>
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.
Bart
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk