Skip to content

About

Yandex.Practicum C++ exercise: custom vector with raw-memory management, move semantics, emplacement, and exception safety.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

cpp-advanced-vector

This Yandex.Practicum C++ course exercise implements a custom vector with raw-memory management, move semantics, emplacement, and exception safety.


Features

  • Dynamic array with efficient memory allocation.
  • Supports basic vector operations:
    • Adding and removing elements.
    • Reserving and resizing capacity.
    • Iterators for traversal.
  • Advanced features:
    • Move and copy semantics.
    • Emplacement and insertion of elements.
    • Exception-safe memory management.
  • Extensively tested with unit tests.

Build notes

  • Requires a C++17-compatible compiler.
  • The implementation is in advanced-vector/vector.h; checks and usage examples are in advanced-vector/main.cpp.
  • The repository does not include a project-level build configuration.

About

Yandex.Practicum C++ exercise: custom vector with raw-memory management, move semantics, emplacement, and exception safety.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages