Comparing version 1.5.0-dev.20170416 to 1.5.0-dev.20170416-2
@@ -12,3 +12,3 @@ { | ||
"typings": "./lib/tstl.d.ts", | ||
"version": "1.5.0-dev.20170416", | ||
"version": "1.5.0-dev.20170416-2", | ||
"devDependencies": { | ||
@@ -15,0 +15,0 @@ "@types/node": "^7.0.8" |
@@ -150,4 +150,7 @@ # TypeScript-STL | ||
for (auto it = m.begin(); it != m.end(); it++) | ||
for (auto it = m.begin(); it != m.end(); it++) // TRADITIONAL METHOD | ||
std::cout << it->first << ", " << it->second << std::endl; | ||
for (auto &x : m) // NEW FEATURE, FULL-FORWARD-ITERATION | ||
std::cout << x.first << ", " << x.second << std::endl; | ||
``` | ||
@@ -172,3 +175,6 @@ | ||
for (let it = m.begin(); !it.equals(m.end()); it = it.next()) | ||
console.log(it.first, it.second); | ||
console.log(it.first, it.second); // TRADITIONAL ITERATION | ||
for (let x of m) // NEW FEATURE, FULL-FORWARD ITERATION | ||
console.log(x.first, x.second); | ||
``` | ||
@@ -175,0 +181,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
907237
193