| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/parsmega.nuxt/node_modules/node-sass/src/libsass/test/ |
Upload File : |
#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;
}