---
title: "STL Allocators"
type: "forum-thread"
url: "https://www.webforum.nu/amne/c-cpp/28102-stl-allocators"
topic: "C/C++"
topic_url: "https://www.webforum.nu/amne/c-cpp"
author: "fnolis"
published: "2001-10-13T10:35:00.000Z"
updated: "2001-10-13T10:35:00.000Z"
replies: 0
views: 393
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/c-cpp/28102-stl-allocators"
---

# STL Allocators

## #1 — fnolis, 2001-10-13T10:35Z

Finns det en snabb #define som man kan slänga in så att jag får string att använda pthread_alloc istället för alloc?

Annars.. hur skriver jag en egen string som överlagrar basic_string med allocatorn pthread_alloc?

Permalänk: https://www.webforum.nu/p/28102

---

Tråden på webben: https://www.webforum.nu/amne/c-cpp/28102-stl-allocators
