¡@

Home 

c++ Programming Glossary: mymaplike

Initializing from an initializer list, but without {{{{{{{{ … }}}}}}}}?

http://stackoverflow.com/questions/5733828/initializing-from-an-initializer-list-but-without

lists. Consider a program that stores map like data struct MyMapLike MyMapLike std map std string int data data std move data private.. a program that stores map like data struct MyMapLike MyMapLike std map std string int data data std move data private std map.. it it becomes ugly. I want to let it look like MyMapLike maps One 1 Two 2 But the compiler doesn't want to accept this..