Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder.erje.net!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | cryptooctoploid@gmail.com |
| Newsgroups | comp.std.c++ |
| Subject | user-defined literals and macros |
| Date | Sun, 30 Oct 2011 11:09:30 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 20 |
| Sender | std-cpp-request@vandevoorde.com |
| Approved | stephen.clamage@oracle.com |
| Message-ID | <21848168.4112.1319981727733.JavaMail.geo-discussion-forums@yqbl36> (permalink) |
| Reply-To | comp.std.c++@googlegroups.com |
| NNTP-Posting-Host | IrfAbO+qp/tNdEIcXlvDy9VKLuwJJU984dgyT9GT6lY= |
| Content-Type | text/plain; charset=windows-1252 |
| X-Trace | news.albasani.net q0c0XCV8EAAaP59kzjpbss70TFK9uRBeFIYR2GGzzj+X6nKpzGFx4o5KI71YN67IGCMWjYg7IiHUT5J9FM855g== |
| X-Complaints-To | abuse@albasani.net |
| NNTP-Posting-Date | Sun, 30 Oct 2011 18:09:33 +0000 (UTC) |
| X-Mailer | Perl5 Mail::Internet v2.05 |
| X-Submission-Address | std-cpp-submit@vandevoorde.com |
| Cancel-Lock | sha1:uRBEedx+B1wcOikejbwRuDRriwo= |
| X-Original-Date | Sun, 30 Oct 2011 06:35:27 -0700 (PDT) |
| Xref | x330-a1.tempe.blueboxinc.net comp.std.c++:342 |
Show key headers only | View raw
Consider:
% cat liter.cpp
#define BAR "foo"
int main()
{
char *foobar("foo/"BAR);
}
% g++ liter.cpp -std=gnu++0x
liter.cpp: In function ‘int main()’:
liter.cpp:4:16: error: unable to find user-defined string literal operator ‘operator"" BAR’
Is this the expected behavior?
--
[ comp.std.c++ is moderated. To submit articles, try posting with your ]
[ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next — Next in thread | Find similar
user-defined literals and macros cryptooctoploid@gmail.com - 2011-10-30 11:09 -0700
Re: user-defined literals and macros Johannes Schaub <schaub.johannes@googlemail.com> - 2011-10-31 11:10 -0700
Re: user-defined literals and macros David Krauss <potswa@gmail.com> - 2011-10-31 11:11 -0700
Re: user-defined literals and macros Ed Smith-Rowland <3dw4rd@verizon.net> - 2011-10-31 11:11 -0700
Re: user-defined literals and macros Ed Smith-Rowland<3dw4rd@verizon.net> - 2011-11-01 11:14 -0700
Re: user-defined literals and macros Daniel Krügler <daniel.kruegler@googlemail.com> - 2011-10-31 11:12 -0700
csiph-web