Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tstl

Package Overview
Dependencies
Maintainers
1
Versions
359
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tstl - npm Package Compare versions

Comparing version 1.5.0-dev.20170416 to 1.5.0-dev.20170416-2

2

package.json

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc