Boost logo

Boost Users :

From: Eoin (eoin-keyword-boostusers.07781a_at_[hidden])
Date: 2006-08-13 18:11:19


> Parser(ErrorWriterPtr writer)
> : writer_(writer)
> {
> }
>
> What is the equivalent to:
>
> Parser testParser(0);
I believe that this constructor would work for you.

Parser(ErrorWriter* writer)
  : writer_(writer)
  {
  }

I hope that is helpful. If not I'm sure someone else will have some
suggestions.

Kind regards, Eoin.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net