S
S
s1rGAY2022-01-18 19:48:43
C++ / C#
s1rGAY, 2022-01-18 19:48:43

What is an alternative to containers from the stl library?

I need to implement some task with the condition of not using stl library containers. What library is better to use as an alternative to stl ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Adamos, 2022-01-18
@s1rGAY

Tasks that stipulate a ban on the STL involve checking whether the examinee is familiar with the STL only from the side of use or understands how it works from the inside.
And not a check to see if the cunning person has the audacity to replace the STL with a "different library".

A
Armenian Radio, 2022-01-18
@gbg

Boost, Qt, Facebook Folly, Eigen - a huge number of libraries provide containers of varying degrees of crappiness. But judging by the wording of the task, you will be expected to write new[] (citizens who write malloc in C ++ expect a fun UB when they mix it up and call delete instead of free ) and roll the container with your own hands.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question