fix code-block (#16799)
This commit is contained in:
parent
d5ce648838
commit
eae3bdf8fe
1 changed files with 1 additions and 1 deletions
|
|
@ -7081,7 +7081,7 @@ one can import C++'s templates rather easily without the need for a pattern
|
||||||
language for object types:
|
language for object types:
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
:test: "nim cpp $1"
|
:test: "nim cpp $1"
|
||||||
|
|
||||||
type
|
type
|
||||||
StdMap[K, V] {.importcpp: "std::map", header: "<map>".} = object
|
StdMap[K, V] {.importcpp: "std::map", header: "<map>".} = object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue