Sha256: 498e80b6f5c51924ae26adffad322e4a4eac26df34ede3c7852139c2ed9b6eb9

Contents?: true

Size: 509 Bytes

Versions: 66

Compression:

Stored size: 509 Bytes

Contents

#include <iostream>
#include "../paths.hpp"

using namespace Sass;

template<typename T>
std::vector<T>& operator<<(std::vector<T>& v, const T& e)
{
  v.push_back(e);
  return v;
}

int main()
{
  std::vector<int> v1, v2, v3;
  v1 << 1 << 2;
  v2 << 3;
  v3 << 4 << 5 << 6;

  std::vector<std::vector<int> > ss;
  ss << v1 << v2 << v3;

  std::vector<std::vector<int> > ps = paths(ss);
  for (size_t i = 0, S = ps.size(); i < S; ++i) {
    std::cout << vector_to_string(ps[i]) << std::endl;
  }
  return 0;
}

Version data entries

66 entries across 64 versions & 17 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/node-sass/src/libsass/test/test_paths.cpp
optimacms-0.1.61 spec/dummy/node_modules/@rails/webpacker/node_modules/node-sass/src/libsass/test/test_paths.cpp
disco_app-0.18.0 test/dummy/node_modules/node-sass/src/libsass/test/test_paths.cpp
disco_app-0.18.2 test/dummy/node_modules/node-sass/src/libsass/test/test_paths.cpp
tang-0.2.1 spec/tang_app/node_modules/node-sass/src/libsass/test/test_paths.cpp
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/node-sass/src/libsass/test/test_paths.cpp
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/node-sass/src/libsass/test/test_paths.cpp
ruby2js-4.0.4 lib/tasks/testrails/node_modules/node-sass/src/libsass/test/test_paths.cpp
ruby2js-4.0.3 lib/tasks/testrails/node_modules/node-sass/src/libsass/test/test_paths.cpp
tang-0.2.0 spec/tang_app/node_modules/node-sass/src/libsass/test/test_paths.cpp
tang-0.1.0 spec/tang_app/node_modules/node-sass/src/libsass/test/test_paths.cpp
tang-0.0.9 spec/tang_app/node_modules/node-sass/src/libsass/test/test_paths.cpp
enju_library-0.3.8 spec/dummy/node_modules/node-sass/src/libsass/test/test_paths.cpp
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/ext/libsass/test/test_paths.cpp
ilog-0.4.1 node_modules/node-sass/src/libsass/test/test_paths.cpp
ilog-0.4.0 node_modules/node-sass/src/libsass/test/test_paths.cpp
ilog-0.3.3 node_modules/node-sass/src/libsass/test/test_paths.cpp
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/test/test_paths.cpp
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/test/test_paths.cpp
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/test/test_paths.cpp