On 10/19/2010 7:01 PM, Andrei Alexandrescu wrote: > On 10/19/10 17:50 CDT, Roman Ivanov wrote: >> Hm, how about this? >> >> auto d = make!Drawable(obj); >> >> Reads "make Drawable from obj". > > "make" has factory conotations. I think it's best to concede and call > the artifact "adapt". > > Andrei
It's true about factory connotations. I think "adapt" would work pretty well as a name. ... A good way of looking at API naming might be by recalling APIs for other languages/libraries and trying to avoid the bad things they had.