Skip to content

Custom allocator for std::map container with reserve operation

Notifications You must be signed in to change notification settings

olpotkin/OTUS-CPP-W3-allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTUS-CPP-W3: allocator

Build Status

Environment

  • docker pull ubuntu:trusty

In order to use ltrace from Docker image:

  • docker run -t -i --privileged image_id /bin/bash

Setup instructions

  • echo "deb https://dl.bintray.com/olpotkin/OTUS-CPP-COURSE trusty main" | sudo tee -a /etc/apt/sources.list
  • apt update && apt install -y allocator
  • apt install ltrace

In case of the error "The method driver /usr/lib/apt/methods/https could not be found.":

  • cd /usr/lib/apt/methods
  • ln -s http https

Final check

  • ltrace -e malloc -e free allocator

About

Custom allocator for std::map container with reserve operation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published