void push()

in include/spotify/json/detail/stack.hpp [32:41]


  void push(T value) {
    if (json_unlikely(_vector)) {
      _vector->push_back(std::move(value));
    } else if (json_likely(_inline_size < inline_capacity)) {
      _array[_inline_size++] = std::move(value);
    } else {
      _vector.reset(new std::vector<T>(_array.begin(), _array.end()));
      _vector->push_back(std::move(value));
    }
  }