Boost logo

Boost :

Subject: Re: [boost] [gsoc-2013] Physics Library Abstraction Layer
From: Dave Abrahams (dave_at_[hidden])
Date: 2013-05-04 03:19:45


on Fri May 03 2013, Michael Marcin <mike.marcin-AT-gmail.com> wrote:

> On 5/3/2013 3:38 PM, Preston Hamlin wrote:
>> Attached is my current proposal in PDF format, as I am a bit wary of
>> pasting several pages worth of formatted text into an email.
>>
>
> Seems reasonable although I would prefer . syntax over ->.
> You might consider a method chaining interface if the object have lots
> of configuration parameters.
>
> physics physics_a1(___);
> scene scene_a1(physics);
> sphere sphere1;
> sphere1.radius(___)
> .material(___)
> .velocity(___);
> scene.add_actor( sphere1 );

<plug>
Please don't ignore the availability of Boost.Parameter for this job
</plug>

-- 
Dave Abrahams

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk