Skip to content
Snippets Groups Projects
Commit 43045a38 authored by Richard Smith's avatar Richard Smith
Browse files

More fixes to codeblock formatting in documentation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268749 91177308-0d34-0410-b5e6-96231b3b80d8
parent d385c514
No related branches found
No related tags found
No related merge requests found
......@@ -129,9 +129,9 @@ Changes to C++1z features since Clang 3.8:
.. code-block:: c++
struct A { int n; };
struct B : A { int x, y; };
B b = { 1, 2, 3 }; // b.n == 1, b.x == 2, b.y == 3
struct A { int n; };
struct B : A { int x, y; };
B b = { 1, 2, 3 }; // b.n == 1, b.x == 2, b.y == 3
- The range in a range-based ``for`` statement can have different types for its ``begin``
and ``end`` iterators. This is permitted as an extension in C++11 onwards.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment