unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C++ alignas keyword
@ 2019-08-04 23:26 Chris Gregory
  0 siblings, 0 replies; only message in thread
From: Chris Gregory @ 2019-08-04 23:26 UTC (permalink / raw)
  To: Emacs Development Mailing List

It seems Emacs doesn't highlight nor support (at least for
end-of-defun purposes) the alignas keyword.

For example,

template <class T, size_t static_len>
class alignas(T) Array {
    char buffer[sizeof(T) * static_len];
};

Could parsing this syntax be added to cc-mode?  At the very least
recognizing it as a keyword would be nice.

-- 
Chris Gregory



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-04 23:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-04 23:26 C++ alignas keyword Chris Gregory

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).