reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/ImmutableListTest.cpp
   28 void concat(const ImmutableList<Wrapper<char>> &L, char *Buffer) {
   30   for (ImmutableList<Wrapper<char>>::iterator It = L.begin(), End = L.end();
   38   ImmutableList<Wrapper<int>>::Factory f;
   44   ImmutableList<Wrapper<int>> L = f.getEmptyList();
   51   ImmutableList<Wrapper<int>>::Factory f;
   52   ImmutableList<Wrapper<int>> L = f.getEmptyList();
   54   ImmutableList<Wrapper<int>> L2 = f.add(3, L);
   70   ImmutableList<Wrapper<int>> L3 = f.add(2, L);
  113   ImmutableList<Wrapper<int>>::Factory f;
  115   ImmutableList<Wrapper<int>> L = f.getEmptyList();
  116   ImmutableList<Wrapper<int>> L2 = f.create(3);
  126   ImmutableList<Wrapper<int>>::Factory f;
  128   ImmutableList<Wrapper<int>> L = f.getEmptyList();
  129   ImmutableList<Wrapper<int>> L2 = f.add(5, f.add(4, f.add(3, L)));
  130   ImmutableList<Wrapper<int>> L3 = f.add(43, f.add(20, f.add(9, L2)));
  131   ImmutableList<Wrapper<int>> L4 = f.add(9, L2);
  132   ImmutableList<Wrapper<int>> L5 = f.add(9, L2);
  183 struct ExplicitCtorWrapper : public Wrapper<Fundamental> {
  184   explicit ExplicitCtorWrapper(Fundamental F) : Wrapper<Fundamental>(F) {}
  226   ImmutableList<Wrapper<char>>::Factory f;
  227   ImmutableList<Wrapper<char>> L = f.getEmptyList();
  229   ImmutableList<Wrapper<char>> L2 = f.add('i', f.add('e', f.add('a', L)));
  230   ImmutableList<Wrapper<char>> L3 = f.add('u', f.add('o', L2));
  239   ImmutableList<Wrapper<long>>::Factory f;
  240   ImmutableList<Wrapper<long>> L = f.getEmptyList();
  242   ImmutableList<Wrapper<long>> L2 = f.add(3, f.add(4, f.add(5, L)));
  243   ImmutableList<Wrapper<long>> L3 = f.add(0, f.add(1, f.add(2, L2)));
  246   for (ImmutableList<Wrapper<long>>::iterator I = L.begin(), E = L.end();
  254   for (ImmutableList<Wrapper<long>>::iterator I = L2.begin(), E = L2.end();
  262   for (ImmutableList<Wrapper<long>>::iterator I = L3.begin(), E = L3.end();
  270 static_assert(is_trivially_copyable<ImmutableList<Wrapper<long>>>::value,