🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #308515

Re: enum do stringa

#308515
From: M.M.
Date: Tue, 03 May 2016 15:48
14 lines
1935 bytes
On Tuesday, May 3, 2016 at 5:42:58 PM UTC+2, Wiktor S. wrote:
> > Czy jest to w ogóle możliwe w najnowszym c++? Chodzi o to bym wypisał
> > stringa dotyczącego enum ale bez konstrukcji tabeli, bo może być ich
> > bardzo dużo.
> 
> Ile to jest "bardzo dużo", i co jest złego w unordered_map?
> 

Nawet jeśli jest mało, to konwersja nazwy enumu do stringa bywają
bardzo przydatne. Szczególnie gdy jest dużo wersji programu i
wersje rożnią się definicją enumów.


Pozdrawiam
Technical Details
Message-ID: <62c982be-2150-4327-b45f-50ac6ae0f992@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin3!goblin.stu.neva.ru!news.ripco.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!11no1201886qgt.0!news-out.google.com!uv8ni247igb.0!nntp.google.com!i5no2505484ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <ngabct$2mm$1@node1.news.atman.pl> <ngagtu$1t3$1@usenet.news.interia.pl>

Show Full Headers
Complete Article Headers
X-Received: by 10.159.36.45 with SMTP id 42mr1922682uaq.13.1462290486159;        Tue, 03 May 2016 08:48:06 -0700 (PDT)
X-Received: by 10.50.182.7 with SMTP id ea7mr95576igc.2.1462290486071; Tue, 03 May 2016 08:48:06 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin3!goblin.stu.neva.ru!news.ripco.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!11no1201886qgt.0!news-out.google.com!uv8ni247igb.0!nntp.google.com!i5no2505484ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.c
Date: Tue, 3 May 2016 08:48:05 -0700 (PDT)
In-Reply-To: <ngagtu$1t3$1@usenet.news.interia.pl>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.37.232.66; posting-account=xjvq9QoAAAATMPC2X3btlHd_LkaJo_rj
NNTP-Posting-Host: 178.37.232.66
References: <ngabct$2mm$1@node1.news.atman.pl> <ngagtu$1t3$1@usenet.news.interia.pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <62c982be-2150-4327-b45f-50ac6ae0f992@googlegroups.com>
Subject: Re: enum do stringa
From: "M.M." <mmarszik@gmail.com>
Injection-Date: Tue, 03 May 2016 15:48:06 +0000
X-Received-Bytes: 1661
X-Received-Body-CRC: 4162468114
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit