Fix some typos in docs and examples and make the code look nicer.
This commit is contained in:
parent
70801d47d1
commit
8985c34809
45 changed files with 717 additions and 717 deletions
|
|
@ -203,7 +203,7 @@ public:
|
|||
<p>And then call this constructor from your target language, for example, in Python, the following will call the constructor taking the <tt>std::vector</tt>:</p>
|
||||
|
||||
<div class="targetlang"><pre>
|
||||
>>> c = Container( [1,2,3,4] )
|
||||
>>> c = Container( [1, 2, 3, 4] )
|
||||
</pre></div>
|
||||
|
||||
<p>
|
||||
|
|
@ -392,7 +392,7 @@ auto SomeStruct::FuncName(int x, int y) -> int {
|
|||
|
||||
<div class="targetlang"><pre>
|
||||
>>> a = SomeStruct()
|
||||
>>> a.FuncName(10,5)
|
||||
>>> a.FuncName(10, 5)
|
||||
15
|
||||
</pre></div>
|
||||
|
||||
|
|
@ -1057,7 +1057,7 @@ It does not involve <tt>std::function</tt>.
|
|||
|
||||
<div class="targetlang"><pre>
|
||||
t = Test()
|
||||
b = t(1,2) # invoke C++ function object
|
||||
b = t(1, 2) # invoke C++ function object
|
||||
</pre></div>
|
||||
|
||||
<H3><a name="CPlusPlus11_type_traits_for_metaprogramming">7.3.9 Type traits for metaprogramming</a></H3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue