Boost logo

Boost Users :

Subject: Re: [Boost-users] [1.38.0] date_time compile error on Solaris 10 Sun Studio 11
From: Boris Schaeling (boris_at_[hidden])
Date: 2009-05-07 19:30:18


On Wed, 06 May 2009 11:45:03 +0200, mojo_risin <pmouraguedes_at_[hidden]>
wrote:

>
> Hi,
>
> The following code:
>
> date now(day_clock<date>::local_day());
>
> produces this error:
>
> "Error: No parameters provided for template."
>
> Any idea?

Do you use boost::date_time::day_clock or boost::gregorian::day_clock? I
ask as the latter is no template.

Boris


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