|
Boost : |
From: Darren Garvey (darren.garvey_at_[hidden])
Date: 2008-04-03 11:15:36
On 30/03/2008, Darren Garvey <darren.garvey_at_[hidden]> wrote:
>
> On 30/03/2008, Mathias Gaunard <mathias.gaunard_at_[hidden]> wrote:
> >
> >
> > Identifiers with only capitals are usually reserved for macros.
> > Therefore GET/POST/whatever aren't such good names, IMO.
>
>
> Ok, good point. I just recently added an operator[] overload to
> basic_request<> which means instead of:
>
> req.GET("whatever");
>
> you can do:
>
> req[get_data]["whatever"];
>
Apologies to those who tried and failed compiling the examples... It seems I
merged these changes into the examples but not the headers. Should be fixed
now.
Regards,
Darren
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk