Re: Initialising a map

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Juha Nieminen

    Re: Initialising a map

    Angus wrote:
    static const std::map<Reques tType, stringRequestMa p = {
    { AOpenEx, "AOpenEx" },
    { AClose, "AClose" },
    { ARegister, "ARegister" },
    { AUnregister, "Unregister " } };
    Followup question: Will this be possible with the upcoming C++
    standard? (AFAIK something similar will be possible with std::vector.)
Working...