Re: [boost] Re: Re: Re: [indexed_set] revised naming proposal

----- Mensaje original ----- De: Rob Stewart <stewart@sig.com> Fecha: Miércoles, Abril 14, 2004 7:25 pm Asunto: Re: [boost] Re: Re: Re: [indexed_set] revised naming proposal [...]
If I decided to rename index_list as indices: what would be your proposal for mpl_index_list? Leave it like that? (check the MPL section on the advanced topics page, in case you don't know about this construct.) Best, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

JOAQUIN LOPEZ MU?Z <joaquin <at> tid.es> writes:
Or even: multi_index_container < employee, indexed_by< ordered_unique<member<employee,string,&employee::name> >, ordered_non_unique<member<employee,int,&employee:age> >,
If I decided to rename index_list as indices: what would be your proposal for mpl_index_list?
'indexed_by_list<>' ? Matt

Matthew Vogt ha escrito: [...]
I love this name "indexed_by"! If noone complains, this will go. Thanx for the tip!
Well, this is less satisfying, I'd rather "mpl" appear in the name. What about "mpl_indexed_by"? Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

Joaquín Mª López Muñoz <joaquin@tid.es> writes:
Oof. What does this MPL stand for?? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

From: =?iso-8859-1?Q?Joaqu=EDn=20M=AA=20L=F3pez=20Mu=F1oz?= <joaquin@tid.es>
I agree. It fits well. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;

How about just allowing any MPL sequence to specify the indices? Also, it would be a nice syntactic convenience to allow the main container template to accept a "variable" number of parameters, and then allow the indices to be specified as parameters directly to the main container template. -- Jeremy Maitin-Shepard
participants (6)
-
David Abrahams
-
Jeremy Maitin-Shepard
-
JOAQUIN LOPEZ MU?Z
-
Joaquín Mª López Muñoz
-
Matthew Vogt
-
Rob Stewart