text: // Copyright (c) 2008-2010 Kent State University
  // Copyright (c) 2011-2012 Texas A&M University
  //
  // This file is distributed under the MIT License. See the accompanying file
  // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
  // and conditions.
  
  #include <cassert>
  #include <iostream>
  #include <vector>
  
  #include <origin/sequence/algorithm.hpp>
  
  using namespace std;
  using namespace origin;
  
  int
  main ()
  {
    using V = vector<int>;
  
    V v (10);
  
    fill (v, 0);
    assert (all_of (v, [](int n)
                    {
                      return n == 0;
                    }));
  }
  