title: How to write a declarative for loop c++14
body: <p>Is there a way to write a declarative style for loop in C++14</p>
  
  <pre><code>for(int i = 0; i &lt; 10; i+=2) {
      // ... some code
  }
  </code></pre>
  
  <p>The closest I have found is using boost is</p>
  
  <pre><code>for(auto i : irange(1,10,2)){
       // .... some code
  }
  </code></pre>
  
  <p>Is there a c++14/17 standards way of achieving the same effect?<br><br>I was trying std::make_integer_sequence() as a possible starting point, but couldn't quite figure it out.</p>