4 May
2013
4 May
'13
7:19 a.m.
on Fri May 03 2013, Michael Marcin
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