Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #9551

Re: access members by string name

From "Gernot Frisch" <me@privacy.net>
Newsgroups comp.lang.c++
Subject Re: access members by string name
Date 2011-08-31 11:58 +0200
Message-ID <9c6etjFoqcU1@mid.individual.net> (permalink)
References <9c4brfFfu2U1@mid.individual.net> <Xns9F51BB96E6D5Dmyfirstnameosapriee@216.196.109.131>

Show all headers | View raw



> class foo {
>     std::map<std::string, int> data_;

It's a slight overhead, but it works properly for what I want. It's obvious, 
but I was unable to see. Thanks for opening my eyes.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

access members by string name "Gernot Frisch" <me@privacy.net> - 2011-08-30 16:53 +0200
  Re: access members by string name Paavo Helde <myfirstname@osa.pri.ee> - 2011-08-30 10:26 -0500
    Re: access members by string name "Gernot Frisch" <me@privacy.net> - 2011-08-31 11:58 +0200
  Re: access members by string name Michael DOUBEZ <michael.doubez@free.fr> - 2011-08-31 04:08 -0700

csiph-web