title: C++ unordered_set of vectors
body: <p>Can I create a unordered_set of vectors in C++? something like this</p>
  
  <pre><code>std::unordered_set&lt;std::vector&lt;int&gt;&gt; s1;
  </code></pre>
  
  <p>because I know that is possible with the "set" class of the std lib but seems that it doesn't work for the unordered version
  thanks</p>
  
  <p>Update:
  this is the exactly code that I'm trying to use</p>
  
  <pre><code>typedef int CustomerId;
  typedef std::vector&lt;CustomerId&gt; Route;
  typedef std::unordered_set&lt;Route&gt; Plan;
  
  // ... in the main
  Route r1 = { 4, 5, 2, 10 };
  Route r2 = { 1, 3, 8 , 6 };
  Route r3 = { 9, 7 };
  Plan p = { r1, r2 };
  </code></pre>
  
  <p>and it's all right if I use set, but I receive a compilation error when try to use the unordered version</p>
  
  <pre><code>main.cpp:46:11: error: non-aggregate type 'Route' (aka 'vector&lt;CustomerId&gt;') cannot be initialized with an initializer list
      Route r3 = { 9, 7 };
  </code></pre>