all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@md5i.com>
To: Alan Mackenzie <acm@muc.de>
Cc: Eli Zaretskii <eliz@gnu.org>,
	Dmitry Antipov <dmantipov@yandex.ru>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: Scrolling huge buffers and cc-mode
Date: Wed, 19 Dec 2012 19:52:09 -0500	[thread overview]
Message-ID: <87fw31ilza.fsf@maru.md5i.com> (raw)
In-Reply-To: <20121219223956.GB3618@acm.acm> (Alan Mackenzie's message of "Wed, 19 Dec 2012 22:39:56 +0000")

Alan Mackenzie <acm@muc.de> writes:

> Am I right in thinking that a namespace declaration _cannot_ be enclosed
> within any other type of declaration, such as a class?

It took a while to locate, but section 7.3.1 [namespace.def] states:

4 Every namespace-definition shall appear in the global scope or in a
  namespace scope (3.3.5).

So, in essence, you are correct.

-- 
Michael Welsh Duggan
(md5i@md5i.com)



  reply	other threads:[~2012-12-20  0:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18  9:56 Scrolling huge buffers and cc-mode Dmitry Antipov
2012-12-18 17:30 ` Eli Zaretskii
2012-12-18 19:58   ` Stefan Monnier
2012-12-19  6:04     ` Dmitry Antipov
2012-12-19  7:20       ` Dmitry Antipov
2012-12-19 22:39         ` Alan Mackenzie
2012-12-20  0:52           ` Michael Welsh Duggan [this message]
2012-12-20 22:29         ` Alan Mackenzie
2012-12-21  5:15           ` Dmitry Antipov
2012-12-21 10:57             ` Alan Mackenzie
2012-12-22  3:28               ` Chong Yidong
2012-12-18 19:40 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fw31ilza.fsf@maru.md5i.com \
    --to=mwd@md5i.com \
    --cc=acm@muc.de \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.