9 Dec
2015
9 Dec
'15
8:31 a.m.
On Tue, Dec 8, 2015 at 9:53 PM, Emil Dotchevski
On Tue, Dec 8, 2015 at 8:25 AM, Phil Endecott < spam_from_boost_dev@chezphil.org> wrote:
I find most of the identifiers too short. You use r and w for read and write access [...]. I know, short names. :) template <int I> static float r( float3 const & ); template <int I> static float & w( float3 & );
Isn't the traditional get/set a good middle-ground between terseness and expressiveness? My $0.02. --DD template <int I> static float get( float3 const & );
template <int I> static float & set( float3 & );
template <> float v_traitsre::float3::get<0>( float3 const & a ) { return a.x; }