minor documentation updates

This commit is contained in:
Araq 2015-02-16 02:56:40 +01:00
commit eaf00dd1fb
4 changed files with 115 additions and 3 deletions

View file

@ -569,7 +569,7 @@ language for object types:
type
StdMap {.importcpp: "std::map", header: "<map>".} [K, V] = object
proc `[]=`[K, V](this: var StdMap[K, V]; key: K; val: V) {.
importcpp: "#[#] = #".}
importcpp: "#[#] = #", header: "<map>".}
var x: StdMap[cint, cdouble]
x[6] = 91.4