-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating language for min precision type representations
- Loading branch information
1 parent
e9c1eed
commit 2259544
Showing
3 changed files
with
55 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
\Ch{Classes}{Classes} | ||
|
||
\begin{grammar} | ||
\define{class-name}\br | ||
identifier\br | ||
simple-template-id\br | ||
|
||
\define{class-head}\br | ||
class-key class-name-specifier \opt{base-clause}\br | ||
class-key \opt{base-clause}\br | ||
|
||
\define{class-name-specifier}\br | ||
\opt{nested-name-specifier} class-name\br | ||
|
||
\define{base-clause}\br | ||
\terminal{:} class-name-specifier\br | ||
|
||
\define{class-key}\br | ||
\terminal{class}\br | ||
\terminal{struct} | ||
\end{grammar} | ||
|
||
\Sec{Properties of classes}{Classes.properties} | ||
|
||
\p A \textit{simple-layout class} is a class that: | ||
\begin{itemize} | ||
\item has no non-static data members of type non-simple-layout class or array | ||
of such types, and | ||
\item has no non-simple-layout base classes. | ||
\end{itemize} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters