blob: 07514bf7c0d3e99fc0eddb7072c044557e1f0f35 [file] [log] [blame]
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <iosfwd>
#include <string>
#include "core/fxcrt/fx_memory_wrappers.h"
namespace fxcrt {
// String that uses partition alloc for backing store.
using string =
std::basic_string<char, std::char_traits<char>, FxStringAllocator<char>>;
// String stream that uses PartitionAlloc for backing store.
using ostringstream = std::
basic_ostringstream<char, std::char_traits<char>, FxStringAllocator<char>>;
} // namespace fxcrt