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