Minor C++11 doc change
This commit is contained in:
parent
3dcc501ac0
commit
f84e1f823b
1 changed files with 2 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ This is usually not a problem, however,
|
|||
there may be some name clashes. For example, the following code:</p>
|
||||
|
||||
<div class="code"><pre>
|
||||
class Color {
|
||||
struct Color {
|
||||
enum class PrintingColors : unsigned int {
|
||||
Cyan, Magenta, Yellow, Black
|
||||
};
|
||||
|
|
@ -611,6 +611,7 @@ The following is an example of an alias template:
|
|||
<div class="code"><pre>
|
||||
template< typename T1, typename T2, int >
|
||||
class SomeType {
|
||||
public:
|
||||
T1 a;
|
||||
T2 b;
|
||||
int c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue